summaryrefslogtreecommitdiffstats
path: root/scripts/get-version
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-11-06 13:44:58 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-11-06 13:45:00 -0800
commit087900b643214aaa54745a920f510cc9827b3020 (patch)
treeb6b530f0f7006b06df6b6ab6d2e0a03cdf84db70 /scripts/get-version
parentd09d12efc7ce5744ea716c1f52132a2b426f6bd8 (diff)
downloadsubsurface-087900b643214aaa54745a920f510cc9827b3020.tar.gz
Only considered annotated/signed tags for version
This works around confusion with the 'continuous' tag that we now use for the CI AppImage builds. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'scripts/get-version')
-rwxr-xr-xscripts/get-version2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/get-version b/scripts/get-version
index 27f02f640..a063efc9e 100755
--- a/scripts/get-version
+++ b/scripts/get-version
@@ -18,7 +18,7 @@ os=$1
if [ $# -eq 2 ] && [ "$2" ]; then
v0=$2
else
- cmd="git describe --tags --abbrev=12"
+ cmd="git describe --abbrev=12"
v0=$($cmd) || v0=$(cat .gitversion) || croak "odd; command '$cmd' failed"
fi