summarylogtreecommitdiffstats
path: root/update_version.sh
diff options
context:
space:
mode:
authorKnut Ahlers2019-09-27 16:04:22 +0200
committerKnut Ahlers2019-09-27 16:04:22 +0200
commite7eee65cfdc7d580342f33c61f95d2ea9636b37c (patch)
tree5b97a8c64831e02ed9566b5cc228a37ecd954a01 /update_version.sh
parentbb56fa827cebe3bdb1aab10f32ad390427868642 (diff)
downloadaur-e7eee65cfdc7d580342f33c61f95d2ea9636b37c.tar.gz
Strip `v` from version
Signed-off-by: Knut Ahlers <knut@ahlers.me>
Diffstat (limited to 'update_version.sh')
-rwxr-xr-xupdate_version.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/update_version.sh b/update_version.sh
index 53ce38ea6580..c643a8d1cfcf 100755
--- a/update_version.sh
+++ b/update_version.sh
@@ -20,6 +20,7 @@ git checkout develop
VER=$(git describe --tags --long --always)
VER=${VER/-/.r}
VER=${VER/-/.}
+VER=${VER#v}
COMMIT=$(git rev-parse HEAD)