Repository navigation
Add a no-upload store rehearsal and fix the flaky Xcode check - #36
Merged
Merged
Conversation
…check - release-core accepts rehearsal inputs: on a non-main branch temporarily admitted to the release environment (and the Infisical release identity), it runs the full signed archive/export path and asks App Store Connect to validate the IPA (altool --validate-app) instead of uploading. Tag triggered runs are unchanged. - release-rehearsal.yml dispatches that rehearsal with an explicit build number and documents the temporary admissions to revert afterwards. - Capture xcodebuild -version before matching it: piping into head made xcodebuild abort on a broken pipe and fail the check intermittently. A rehearsal of 2.0.0 (42) passed App Store Connect validation with no errors (run 43724224038).
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.
Summary
Adds a no-upload rehearsal for store candidates and fixes an intermittent
failure in the Xcode version check.
release-core.ymlgainsrehearsal/rehearsal_build_numberinputs. A rehearsal runs on a non-main branch that is temporarily admitted
to the
releaseenvironment and the Infisical release identity. It runsthe real signed archive and export, then calls
altool --validate-appinstead of uploading. The upload step is skipped with
if: ${{ !inputs.rehearsal }}. No build is uploaded and no build number isconsumed. Tag-triggered runs keep every existing check: tag equals the
project.ymlversion, and the commit is contained inmain.release-rehearsal.yml: dispatches the rehearsal with an explicitbuild number. Its comments document the two temporary admissions and how to
revert them.
xcodebuild -version | head -1 | grep -qletheadclosethe pipe early, so
xcodebuildaborted on SIGPIPE and failed the step underpipefail. This happened in PR Upload to TestFlight with altool on Xcode 27 #32 and PR Bump build number to 2.0.0 (41) #33. The output is now capturedbefore matching, in both
ci.ymlandrelease-core.yml.Why
The previous candidates each failed on a different problem, found only after
a real tag:
rc-2.0.0+39: the extension path in the release checks.rc-2.0.0+40:iTMSTransporteris missing from Xcode 27.rc-2.0.0+41: App Store Connect rejected it with ITMS-90101.A rehearsal surfaces these before any tag is created.
Evidence
Rehearsal run 43724224038 used this exact
release-core.ymlandci.ymlonthe
release-rehearsalbranch, with build 42 and the iPad fix from #34. Itfetched secrets, archived, signed and exported, then App Store Connect
returned
VERIFY SUCCEEDED with no errors. The upload step was skipped.Both temporary admissions were reverted afterwards. The GitHub
releaseenvironment again admits only
rc-*, and the Infisical bound claims areback to their original values.
Testing
main: rejected;rc-*tag on amaincommit: passes;actionlint: the only finding is the known customxcode-27runner label.