5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-11-25 21:51:38 +00:00

Fix bug in semver version.sh

This commit is contained in:
Neil Alexander 2018-12-08 11:31:20 +00:00
parent 22e6505079
commit 3b2044666d
No known key found for this signature in database
GPG Key ID: A02A2019A2BB0944

View File

@ -15,7 +15,7 @@ PATCH=$(git rev-list $TAG..master --count --merges --grep="from $DEVELOPBRANCH"
# Decide whether we should prepend the version with "v" - the default is that # Decide whether we should prepend the version with "v" - the default is that
# we do because we use it in git tags, but we might not always need it # we do because we use it in git tags, but we might not always need it
PREPEND="v" PREPEND="v"
if [ "$1" == "--bare" ]; then if [ "$1" = "--bare" ]; then
PREPEND="" PREPEND=""
fi fi