Skip to content

Commit 519b57b

Browse files
committed
Use branch name instead of HEAD when unshallowing
1 parent fdcfd05 commit 519b57b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ci/scripts/checkout-submodules.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ ci_dir=$(cd $(dirname $0) && pwd)/..
1717
# On the beta channel we'll be automatically calculating the prerelease version
1818
# via the git history, so unshallow our shallow clone from CI.
1919
if [ "$(releaseChannel)" = "beta" ]; then
20-
git fetch origin --unshallow beta HEAD
20+
git fetch origin --unshallow beta main
2121
fi
2222

2323
function fetch_github_commit_archive {

0 commit comments

Comments
 (0)