commit 3225ed5f44208cb084a962bfa43d1a6093fe4785
parent 01cc312b83210b1eaaa606d7f4c94e6ebc3a2275
Author: Florian Dold <dold@taler.net>
Date: Mon, 7 Sep 2026 17:33:05 +0200
CI packaging: preserve the full Git checkout
Remove the fetch depth limit from wallet CLI and harness packaging so
these stages keep the full history cached by Buildbot.
Diffstat:
2 files changed, 4 insertions(+), 4 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
@@ -5,8 +5,8 @@ BRANCH=$(git name-rev --name-only HEAD)
if [ -z "${BRANCH}" ]; then
exit 1
else
- # "Unshallow" our checkout, but only our current branch, and exclude the submodules.
- git fetch --no-recurse-submodules --tags --depth=1000 origin "${BRANCH}"
+ # Keep the cached checkout's full history when fetching release tags.
+ git fetch --no-recurse-submodules --tags origin "${BRANCH}"
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
diff --git a/contrib/ci/jobs/4-taler-harness-deb-package/version.sh b/contrib/ci/jobs/4-taler-harness-deb-package/version.sh
@@ -5,8 +5,8 @@ BRANCH=$(git name-rev --name-only HEAD)
if [ -z "${BRANCH}" ]; then
exit 1
else
- # "Unshallow" our checkout, but only our current branch, and exclude the submodules.
- git fetch --no-recurse-submodules --tags --depth=1000 origin "${BRANCH}"
+ # Keep the cached checkout's full history when fetching release tags.
+ git fetch --no-recurse-submodules --tags origin "${BRANCH}"
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