aboutsummaryrefslogtreecommitdiff
path: root/utils.sh
diff options
context:
space:
mode:
authorstoffu <stoffu@protonmail.ch>2018-06-21 20:36:46 +0900
committerstoffu <stoffu@protonmail.ch>2018-06-21 20:36:46 +0900
commitf1f0109621f4e33975d7498d5b8f0803fe4078b4 (patch)
tree1528a1960335a1f85c2cd77431c5ae10294ee7a3 /utils.sh
parentcd46edb23f0764b7bb7ee1171224881554be5d2f (diff)
downloadmonzero-gui-f1f0109621f4e33975d7498d5b8f0803fe4078b4.tar.gz
monzero-gui-f1f0109621f4e33975d7498d5b8f0803fe4078b4.tar.xz
monzero-gui-f1f0109621f4e33975d7498d5b8f0803fe4078b4.zip
Fix version string by picking up unannotated tags
Diffstat (limited to 'utils.sh')
-rwxr-xr-xutils.sh2
1 files changed, 1 insertions, 1 deletions
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"