diff options
author | Karel Kočí <karel.koci@nic.cz> | 2017-10-25 13:01:03 +0200 |
---|---|---|
committer | Karel Kočí <karel.koci@nic.cz> | 2017-10-25 13:01:03 +0200 |
commit | 33083fab3bf2760dbd39cc68711e5e429eae74e7 (patch) | |
tree | 31914c07d5810ddcb516ed3802342bd07349664b /utils | |
parent | fefde1459054433d96510faba3103d62d90d667d (diff) | |
download | turris-myrepo-33083fab3bf2760dbd39cc68711e5e429eae74e7.tar.gz turris-myrepo-33083fab3bf2760dbd39cc68711e5e429eae74e7.tar.bz2 turris-myrepo-33083fab3bf2760dbd39cc68711e5e429eae74e7.zip |
Update updater-ng-auto package
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/updater-ng-auto.sh | 2 |
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 |