Fix Xcode Cloud release notes, unshallow repository before generating them.

This commit is contained in:
Stefan Ceriu 2024-03-17 09:16:30 +02:00
parent 3ba34c0704
commit 333c031798

View File

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