[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-challenger] branch master updated: ci: exclude dev tags from .deb
From: |
gnunet |
Subject: |
[taler-challenger] branch master updated: ci: exclude dev tags from .deb version strings |
Date: |
Thu, 11 Apr 2024 22:04:04 +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 d6885e2 ci: exclude dev tags from .deb version strings
d6885e2 is described below
commit d6885e2f07a326f793496d4016308dadca6f0111
Author: Devan Carpenter <devan@taler.net>
AuthorDate: Thu Apr 11 16:03:56 2024 -0400
ci: exclude dev tags from .deb version strings
this avoids a whole mess of problems with version string parsing and
selection with dpkg and gbh
---
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 a6e740a..52031b2 100755
--- a/contrib/ci/jobs/4-deb-package/version.sh
+++ b/contrib/ci/jobs/4-deb-package/version.sh
@@ -7,7 +7,7 @@ if [ -z "${BRANCH}" ]; then
else
# "Unshallow" our checkout, but only our current branch, and exclude
the submodules.
git fetch --no-recurse-submodules --tags --depth=1000 origin "${BRANCH}"
- RECENT_VERSION_TAG=$(git describe --tags --match 'v*.*.*' --always
--abbrev=0 HEAD || exit 1)
+ RECENT_VERSION_TAG=$(git describe --tags --match 'v*.*.*' --exclude
'*-dev*' --always --abbrev=0 HEAD || exit 1)
commits="$(git rev-list ${RECENT_VERSION_TAG}..HEAD --count)"
if [ "${commits}" = "0" ]; then
git describe --tag HEAD | sed -r 's/^v//' || exit 1
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-challenger] branch master updated: ci: exclude dev tags from .deb version strings,
gnunet <=