aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorDevan Carpenter <devan@taler.net>2024-04-09 07:53:19 -0400
committerDevan Carpenter <devan@taler.net>2024-04-09 07:53:19 -0400
commita1270cdc3659986eb6a478f4bb23e53d5001d2ce (patch)
tree14b89d9fdaf09839cd9e8922e9005532a31615a3 /contrib
parent8d633dae4bb7a2f1e3502e49577666721de7570a (diff)
ci: remove the leading v character from tags
debian doesn't want a v at the start of the version string
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/ci/jobs/4-deb-package/version.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/ci/jobs/4-deb-package/version.sh b/contrib/ci/jobs/4-deb-package/version.sh
index d2647785e..a6e740af0 100755
--- a/contrib/ci/jobs/4-deb-package/version.sh
+++ b/contrib/ci/jobs/4-deb-package/version.sh
@@ -10,7 +10,7 @@ else
RECENT_VERSION_TAG=$(git describe --tags --match 'v*.*.*' --always --abbrev=0 HEAD || exit 1)
commits="$(git rev-list ${RECENT_VERSION_TAG}..HEAD --count)"
if [ "${commits}" = "0" ]; then
- git describe --tag HEAD || exit 1
+ git describe --tag HEAD | sed -r 's/^v//' || exit 1
else
echo $(echo ${RECENT_VERSION_TAG} | sed -r 's/^v//')-${commits}-$(git rev-parse --short=8 HEAD)
fi