taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit a8463142f1b376a9695e23b91b08ca3894510640
parent db43d6ed14888363a1d3b1b5ada94250478f2547
Author: Devan Carpenter <devan@taler.net>
Date:   Tue,  9 Apr 2024 08:00:01 -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/3-wallet-cli-deb-package/version.sh | 2+-
Mcontrib/ci/jobs/4-taler-harness-deb-package/version.sh | 2+-
2 files changed, 2 insertions(+), 2 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 @@ -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 diff --git a/contrib/ci/jobs/4-taler-harness-deb-package/version.sh b/contrib/ci/jobs/4-taler-harness-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