Skip to content

Upload every merge to main to TestFlight (internal) - #4

Merged
guo-yu merged 1 commit into
mainfrom
claude/project-thread-g4oo17
Nov 13, 2026
Merged

guo-yu merged 1 commit into
mainfrom
claude/project-thread-g4oo17

Conversation

@guo-yu

@guo-yu guo-yu commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

Requested by Bruce · project thread

What

Company rule (Bruce, 2026-11-13): every iOS app that passes CI and merges to main goes to TestFlight for the internal testers. This adds .github/workflows/testflight.yml, modelled on chekusu/zanmai's ios.yml:

  • Push to main touching the app (or a manual run): archive on hayabuild-macos with Xcode cloud signing, upload to TestFlight. External testing and App Review stay manual.
  • The App Store Connect key comes from Hayabuild's stage secret store through GitHub OIDC (.github/scripts/hayabuild-secrets.sh). No GitHub Actions secrets.
  • Build number: the project's CURRENT_PROJECT_VERSION + . + run number (e.g. 14 → 14.1, 14.2), so it always rises past builds already uploaded.
  • The team ID stays out of this public repo: it comes from Hayabuild too. verify.yml already builds the app on every PR.

Before this merges

Register these in the Hayabuild panel → Secrets for this repository, refs/heads/main, workflow .github/workflows/testflight.yml: ASC_KEY_ID, ASC_ISSUER_ID, ASC_KEY_P8 (the same company "Hayabuild" Admin key zanmai uses), plus APPLE_TEAM_ID. Until then the first upload fails with "Hayabuild has no secret …". This PR stays a draft until they are in.


Generated by Claude Code

A push to main that touches the app archives it on a Hayabuild Mac with Xcode
cloud signing and uploads it to TestFlight. The App Store Connect key comes from
Hayabuild's secret store through GitHub OIDC, so the repository holds no secrets.
The build number is the project's CURRENT_PROJECT_VERSION plus the run number.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01P3ShCnvtY89R7t8sDLYo2T
@guo-yu
guo-yu marked this pull request as ready for review November 13, 2026 13:59
@guo-yu
guo-yu merged commit c767b80 into main Nov 13, 2026
2 checks passed
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.

2 participants