diff --git a/src/version.bash b/src/version.bash index 7b2c06801a0..b45f15a6c4f 100755 --- a/src/version.bash +++ b/src/version.bash @@ -18,6 +18,7 @@ fi # Find most recent known release tag. TAG=$(hg tags | + sed 's/:.*//' | sort -rn -k2 | awk -v ver=$VERSION '$2 <= ver && $1~/^(release|weekly)\./ {print $1}' | sed -n 1p)