From f1f0109621f4e33975d7498d5b8f0803fe4078b4 Mon Sep 17 00:00:00 2001 From: stoffu Date: Thu, 21 Jun 2018 20:36:46 +0900 Subject: [PATCH] Fix version string by picking up unannotated tags --- utils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.sh b/utils.sh index fcaaa69d..76938d99 100755 --- a/utils.sh +++ b/utils.sh @@ -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"