diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-11-06 13:44:58 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-11-06 13:45:00 -0800 |
commit | 087900b643214aaa54745a920f510cc9827b3020 (patch) | |
tree | b6b530f0f7006b06df6b6ab6d2e0a03cdf84db70 /scripts | |
parent | d09d12efc7ce5744ea716c1f52132a2b426f6bd8 (diff) | |
download | subsurface-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')
-rwxr-xr-x | scripts/get-version | 2 |
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 |