Skip to content

Include branch name in Xcode Cloud TestFlight notes#19

Merged
gsbernstein merged 2 commits into
masterfrom
cursor/testflight-branch-notes-ffca
Jun 30, 2026
Merged

Include branch name in Xcode Cloud TestFlight notes#19
gsbernstein merged 2 commits into
masterfrom
cursor/testflight-branch-notes-ffca

Conversation

@gsbernstein

@gsbernstein gsbernstein commented Jun 30, 2026

Copy link
Copy Markdown
Owner

Summary

Adds a minimal Bedtime/ci_scripts/ci_post_xcodebuild.sh that sets TestFlight What to Test notes after a successful archive.

After archive (CI_XCODEBUILD_ACTION = "archive" and CI_APP_STORE_SIGNED_APP_PATH exists), the script writes:

Branch: <branch-name>

to Bedtime/TestFlight/WhatToTest.en-US.txt (via ../TestFlight from ci_scripts/). Xcode Cloud picks this up automatically for TestFlight.

Testing

Verified locally by simulating archive env vars. Full behavior must be confirmed on the next Xcode Cloud archive build.

Open in Web Open in Cursor 

cursoragent and others added 2 commits June 30, 2026 20:13
Generate WhatToTest.en-US.txt in ci_post_xcodebuild.sh after a successful
App Store archive so TestFlight builds show which branch was built.

Also appends any "What to test:" section from the commit message, matching
the convention used by the screenshot workflow.

Co-authored-by: Greg <gsbernstein@users.noreply.github.com>
Match the minimal ci_post_xcodebuild pattern: after archive, write
Branch: $CI_BRANCH to TestFlight/WhatToTest.en-US.txt.

Co-authored-by: Greg <gsbernstein@users.noreply.github.com>
@gsbernstein gsbernstein requested a review from Copilot June 30, 2026 20:40
@gsbernstein gsbernstein marked this pull request as ready for review June 30, 2026 20:40

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds an Xcode Cloud post-archive script to automatically populate TestFlight “What to Test” notes with the current branch name, so builds uploaded to TestFlight carry basic source context.

Changes:

  • Add Bedtime/ci_scripts/ci_post_xcodebuild.sh to run after xcodebuild.
  • On successful archive, create/update WhatToTest.en-US.txt with Branch: <branch-name>.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +6 to +8
TESTFLIGHT_DIR_PATH=../TestFlight
mkdir -p "$TESTFLIGHT_DIR_PATH"
echo "Branch: $CI_BRANCH" >! "$TESTFLIGHT_DIR_PATH/WhatToTest.en-US.txt"
@gsbernstein gsbernstein merged commit 068e679 into master Jun 30, 2026
1 check passed
@gsbernstein gsbernstein deleted the cursor/testflight-branch-notes-ffca branch June 30, 2026 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants