Use branch name instead of HEAD when unshallowing

This commit is contained in:
Jakub Beránek 2025-12-03 18:44:09 +01:00
parent 83e49b75e7
commit fce8552f82
No known key found for this signature in database
GPG key ID: 909CD0D26483516B

View file

@ -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 {