aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2017-10-25 13:01:03 +0200
committerKarel Kočí <karel.koci@nic.cz>2017-10-25 13:01:03 +0200
commit33083fab3bf2760dbd39cc68711e5e429eae74e7 (patch)
tree31914c07d5810ddcb516ed3802342bd07349664b /utils
parentfefde1459054433d96510faba3103d62d90d667d (diff)
downloadturris-myrepo-33083fab3bf2760dbd39cc68711e5e429eae74e7.tar.gz
turris-myrepo-33083fab3bf2760dbd39cc68711e5e429eae74e7.tar.bz2
turris-myrepo-33083fab3bf2760dbd39cc68711e5e429eae74e7.zip
Update updater-ng-auto package
Diffstat (limited to 'utils')
-rwxr-xr-xutils/updater-ng-auto.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/updater-ng-auto.sh b/utils/updater-ng-auto.sh
index ac3c6c7..23eea64 100755
--- a/utils/updater-ng-auto.sh
+++ b/utils/updater-ng-auto.sh
@@ -19,7 +19,7 @@ else
fi
# Get info
HASH="$(git $GIT_ARGS rev-parse HEAD)"
-VERSION="$(git $GIT_ARGS describe --abbrev=0 --tags).99999"
+VERSION="$(git $GIT_ARGS describe --abbrev=0 --tags | sed 's/^v//').99999"
RELEASE="$(($(git $GIT_ARGS rev-list --count $VERSION..HEAD) + 1))"
# Now replace stuff in Makefile