Asc Build Lifecycle

by rorkai9c7e769f09a1No license1K starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated 3 days ago

Track build processing, find latest builds, and clean up old builds with asc. Use when managing build retention or waiting on processing.

Instructions onlyDevOps & Cloud
AI-generated overview

Manages App Store Connect build state, processing, distribution and retention using the asc CLI.

What it does
Provides command recipes for inspecting App Store Connect builds: finding the latest build, computing the next safe build number, and listing recent builds. It also covers checking processing state, running end-to-end TestFlight or App Store publishing flows, and expiring old or individual builds with dry-run previews. The output is command guidance rather than generated files.
When to use it
Use it when managing build retention, waiting on build processing, or deciding which build number to use next. It also fits when publishing an IPA to TestFlight or staging an App Store release through the asc CLI.
Requirements
The asc CLI must be installed and authenticated with App Store Connect credentials; commands reference app, build, group and version identifiers and require network access. The skill ships no scripts, only instructions.

asc 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"

Distribution flows

  • Prefer end-to-end:
    • asc publish testflight --app "APP_ID" --ipa "./app.ipa" --group "GROUP_ID" --wait
    • asc 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 upload uploads and commits an IPA or PKG. Use asc publish when the workflow must also distribute to TestFlight or stage an App Store release.
  • For long processing times, use --wait, --poll-interval, and --timeout where supported.

Source and attribution

Source:rorkai/app-store-connect-cli-skillsinskills/asc-build-lifecycleat commit9c7e769

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal