gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-challenger] branch master updated: ci: remove the leading v chara


From: gnunet
Subject: [taler-challenger] branch master updated: ci: remove the leading v character from tags
Date: Tue, 09 Apr 2024 13:50:21 +0200

This is an automated email from the git hooks/post-receive script.

devan-carpenter pushed a commit to branch master
in repository challenger.

The following commit(s) were added to refs/heads/master by this push:
     new 9d3b51d  ci: remove the leading v character from tags
9d3b51d is described below

commit 9d3b51d1301a79f4126c74fa8df0811221a8fda2
Author: Devan Carpenter <devan@taler.net>
AuthorDate: Tue Apr 9 07:49:58 2024 -0400

    ci: remove the leading v character from tags
    
    debian doesn't want a v at the start of the version string
---
 contrib/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
index d264778..a6e740a 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

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]