aboutsummaryrefslogtreecommitdiff
path: root/contrib/ci/jobs/3-wallet-cli-deb-package
diff options
context:
space:
mode:
authorDevan Carpenter <devan@taler.net>2024-04-09 08:00:01 -0400
committerDevan Carpenter <devan@taler.net>2024-04-09 08:00:01 -0400
commita8463142f1b376a9695e23b91b08ca3894510640 (patch)
tree3317ec88e8dbcfb447e4e5ba3e587f7803072814 /contrib/ci/jobs/3-wallet-cli-deb-package
parentdb43d6ed14888363a1d3b1b5ada94250478f2547 (diff)
downloadwallet-core-a8463142f1b376a9695e23b91b08ca3894510640.tar.xz
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/ci/jobs/3-wallet-cli-deb-package')
-rwxr-xr-xcontrib/ci/jobs/3-wallet-cli-deb-package/version.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/ci/jobs/3-wallet-cli-deb-package/version.sh b/contrib/ci/jobs/3-wallet-cli-deb-package/version.sh
index d2647785e..a6e740af0 100755
--- a/contrib/ci/jobs/3-wallet-cli-deb-package/version.sh
+++ b/contrib/ci/jobs/3-wallet-cli-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