libeufin

Integration and sandbox testing for FinTech APIs and data formats
Log | Files | Refs | Submodules | README | LICENSE

commit fc72eb5f8b3e82bca93b90c292848e5b731cee9d
parent f64a4f785c3ba98ffa85d219980bcd3919610538
Author: Devan Carpenter <devan@taler.net>
Date:   Tue,  9 Apr 2024 07:57:41 -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