diff --git a/ci_scripts/ci_common.sh b/ci_scripts/ci_common.sh index 01ff29171..8ffeec681 100755 --- a/ci_scripts/ci_common.sh +++ b/ci_scripts/ci_common.sh @@ -73,8 +73,9 @@ generate_what_to_test_notes() { TESTFLIGHT_DIR_PATH=TestFlight TESTFLIGHT_NOTES_FILE_NAME=WhatToTest.en-US.txt - # Xcode Cloud shallow clones the repo, we need to manually fetch the tags - git fetch --tags --quiet + # Xcode Cloud shallow clones the repo, we need to deepen it to fetch tags and commit history + # Instead of trying `--deepen=` just do a full unshallow to avoid future surprises + git fetch --unshallow --quiet LATEST_TAG="" if [ "$CI_WORKFLOW" = "Release" ]; then