From fce8552f820f79c2ebd1f9d09c6d6b459bddc22a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Ber=C3=A1nek?= Date: Wed, 3 Dec 2025 18:44:09 +0100 Subject: [PATCH] Use branch name instead of HEAD when unshallowing --- src/ci/scripts/checkout-submodules.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ci/scripts/checkout-submodules.sh b/src/ci/scripts/checkout-submodules.sh index 5a422afc42b46..e38e20d47c3db 100755 --- a/src/ci/scripts/checkout-submodules.sh +++ b/src/ci/scripts/checkout-submodules.sh @@ -17,7 +17,7 @@ ci_dir=$(cd $(dirname $0) && pwd)/.. # On the beta channel we'll be automatically calculating the prerelease version # via the git history, so unshallow our shallow clone from CI. if [ "$(releaseChannel)" = "beta" ]; then - git fetch origin --unshallow beta HEAD + git fetch origin --unshallow beta main fi function fetch_github_commit_archive {