About asc-build-lifecycle
A skill for managing App Store Connect build state with the `asc` CLI. It helps teams find builds, inspect processing and TestFlight status, distribute releases, and expire old builds.
Key features
- 01Find latest and recent builds
- 02Calculate the next build number
- 03Inspect processing and beta status
- 04Distribute through TestFlight or App Store
- 05Preview or apply build expiration
Use cases
- 01Choose the latest build for a version
- 02Set a safe next build number
- 03Check whether a build finished processing
- 04Expire old builds after review
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ rorkai/ app-store-connect-cli-skills --skill asc-build-lifecycleAfter installing, type/asc-build-lifecyclein Claude Code to confirm it loaded.
Details
From the project READMEasc build lifecycle
Use this skill to manage build state, processing, and retention.
Find the right build
- Latest build:
asc builds info --app "APP_ID" --latest --version "1.2.3" --platform IOS
- Next safe build number:
asc builds next-build-number --app "APP_ID" --version "1.2.3" --platform IOS- The command scans the full processed-build history and in-flight uploads, then returns one greater than the highest positive numeric build number. Blank or non-numeric processed build numbers are skipped with a warning; if no usable number remains, it falls back to
--initial-build-number.
- Recent builds:
asc builds list --app "APP_ID" --sort -uploadedDate --limit 10
Inspect processing state
asc builds info --build-id "BUILD_ID"- TestFlight state in one call:
asc builds info --build-id "BUILD_ID" --include buildBetaDetail,betaAppReviewSubmission,betaGroups --output json. A build never submitted for beta review has nobetaAppReviewSubmissionsentry inincluded.
Distribution flows
- Prefer end-to-end:
asc publish testflight --app "APP_ID" --ipa "./app.ipa" --group "GROUP_ID" --waitasc publish appstore --app "APP_ID" --ipa "./app.ipa" --version "1.2.3" --wait --submit --confirm
Cleanup
- Preview expiration:
asc builds expire-all --app "APP_ID" --older-than 90d --dry-run
- Apply expiration:
asc builds expire-all --app "APP_ID" --older-than 90d --confirm
- Single build:
asc builds expire --build-id "BUILD_ID" --confirm
Notes
asc builds uploaduploads and commits an IPA or PKG. Useasc publishwhen the workflow must also distribute to TestFlight or stage an App Store release.- For long processing times, use
--wait,--poll-interval, and--timeoutwhere supported.
Comments
Markdown supported