fix printing build number when taggin

This commit is contained in:
Jakub Sokołowski 2018-05-14 10:10:45 +02:00
parent 68300dbc61
commit df3ec429c9
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ BUILD_NO=$(getNumber "$BUILD")
BUILD_NO="$((BUILD_NO+1))"
if [ "$1" = "--tag" ]; then
echo "Tagging HEAD: $BUILD" >&2
echo "Tagging HEAD: build-$BUILD_NO" >&2
echo "You will need to 'git push --tags' to make this tag take effect." >&2
git tag "build-$BUILD_NO" HEAD
fi