Fix version string by picking up unannotated tags

This commit is contained in:
stoffu 2018-06-21 20:36:46 +09:00
parent cd46edb23f
commit f1f0109621
No known key found for this signature in database
GPG Key ID: 41DAB8343A9EC012
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ function get_tag()
VERSIONTAG="$COMMIT"
fi
# save tag name + commit if availible
TAGNAME=$(git describe | sed -e 's/[\t ]*//')
TAGNAME=$(git describe --tags | sed -e 's/[\t ]*//')
if test -z "$TAGNAME"
then
TAGNAME="$VERSIONTAG"