Update semver behaviour

This commit is contained in:
Neil Alexander 2018-12-07 22:17:09 +00:00
parent 8bd566d4d8
commit 4bc009d845
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
2 changed files with 13 additions and 3 deletions

View file

@ -16,6 +16,7 @@ PATCH=$(git rev-list $TAG..master --count --merges --grep="from $DEVELOPBRANCH"
if [ $? != 0 ]; then
PATCH=$(git rev-list HEAD --count 2>/dev/null)
# Complain if the git history is not available
if [ $? != 0 ]; then
printf 'unknown'
exit -1