exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit a1270cdc3659986eb6a478f4bb23e53d5001d2ce
parent 8d633dae4bb7a2f1e3502e49577666721de7570a
Author: Devan Carpenter <devan@taler.net>
Date:   Tue,  9 Apr 2024 07:53:19 -0400

ci: remove the leading v character from tags

debian doesn't want a v at the start of the version string

Diffstat:
Mcontrib/ci/jobs/4-deb-package/version.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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