Skip to content
Snippets Groups Projects

heptapod-ci: add a script to map evolve branch to mercurial revision for tests

Merged Raphaël Gomès requested to merge topic/stable/heptapod-ci into branch/stable
2 files
+ 23
4
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 15
0
#!/bin/sh
set -eu
case $1 in
default)
echo default
;;
mercurial-*)
exp=$(echo "$1" | cut -d- -f2 | sed 's#\.#\\.#g')
echo 'max(tag("re:^'"$exp"'"))'
;;
*)
echo stable
;;
esac
Loading