Xcode Cloud: auto-generate TestFlight What-to-Test notes#38
Draft
Sjoerd-Bo3 wants to merge 1 commit into
Draft
Conversation
ci_scripts/ci_post_xcodebuild.sh writes TestFlight/WhatToTest.en-US.txt on each distribution build: branch, build number, an optional manual message (ci_scripts/whattotest_message.txt), and a tidied, cumulative list of every feature/PR the branch adds on top of its base (default dev, via WHATTOTEST_BASE_BRANCH). Generated notes are git-ignored. CLAUDE.md documents the convention so merge/PR subjects stay TestFlight-readable. Self-contained and branch-agnostic so it can be merged/cherry-picked into any build branch.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Self-contained, branch-agnostic Xcode Cloud customization that auto-generates the TestFlight "What to Test" notes, so every build is identifiable without manual entry. Branched from
devso it can be merged or cherry-picked into any build branch (Build,Build-Experiment, …).What it does
ci_scripts/ci_post_xcodebuild.shruns after each Xcode Cloud archive and writesTestFlight/WhatToTest.en-US.txtcontaining:ci_scripts/whattotest_message.txt, prepended if present)dev), built from first-parent commit subjects (e.g.Merge nightscout/Trio PR #1203 (...)→PR #1203 — ...; internaldev-sync merges filtered out)Example output:
Files
ci_scripts/ci_post_xcodebuild.sh— the generator (executable).gitignore— ignores the generatedTestFlight/folderCLAUDE.md— documents the convention (write clear merge/PR subjects; how to add a manual message;WHATTOTEST_BASE_BRANCHto change the base)Notes
CI_APP_STORE_SIGNED_APP_PATH); no effect on the app binary.WHATTOTEST_BASE_BRANCHas an Xcode Cloud env var to diff against something other thandev.🤖 Generated with Claude Code
Generated by Claude Code