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
# we do because we use it in git tags, but we might not always need it
PREPEND="v"
if [ "$1" == "--bare" ]; then
if [ "$1" = "--bare" ]; then
PREPEND=""
fi