diff options
author | Knut Ahlers | 2019-09-27 16:04:22 +0200 |
---|---|---|
committer | Knut Ahlers | 2019-09-27 16:04:22 +0200 |
commit | e7eee65cfdc7d580342f33c61f95d2ea9636b37c (patch) | |
tree | 5b97a8c64831e02ed9566b5cc228a37ecd954a01 /update_version.sh | |
parent | bb56fa827cebe3bdb1aab10f32ad390427868642 (diff) | |
download | aur-e7eee65cfdc7d580342f33c61f95d2ea9636b37c.tar.gz |
Strip `v` from version
Signed-off-by: Knut Ahlers <knut@ahlers.me>
Diffstat (limited to 'update_version.sh')
-rwxr-xr-x | update_version.sh | 1 |
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) |