diff --git a/scripts/version.sh b/scripts/version.sh index 841b9627c4..42b5536da6 100755 --- a/scripts/version.sh +++ b/scripts/version.sh @@ -17,7 +17,7 @@ cdroot # If in Sapling, just print the commit since we don't have tags. if [ -d ".sl" ]; then - sl log -l 1 | awk '/changeset/ { print substr($2, 0, 16) }' + sl log -l 1 | awk '/changeset/ { printf "0.0.0+sl-%s\n", substr($2, 0, 16) }' exit 0 fi