Skip to content

Commit

Permalink
Fix Xcode Cloud release notes, unshallow repository before generating…
Browse files Browse the repository at this point in the history
… them.
  • Loading branch information
stefanceriu committed Mar 17, 2024
1 parent 3ba34c0 commit 333c031
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ci_scripts/ci_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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=<depth>` just do a full unshallow to avoid future surprises
git fetch --unshallow --quiet

LATEST_TAG=""
if [ "$CI_WORKFLOW" = "Release" ]; then
Expand Down

0 comments on commit 333c031

Please sign in to comment.