Asc Build Lifecycle

作者 rorkai9c7e769f09a1無授權條款1K 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫3 天前更新

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

僅含說明DevOps & Cloud
AI 產生的概覽

使用 asc CLI 管理 App Store Connect 建置狀態、處理、發佈與保留。

功能
提供檢查 App Store Connect 建置的命令做法:尋找最新建置、計算下一個安全的建置編號,以及列出近期建置。它也涵蓋查看處理狀態、執行端對端的 TestFlight 或 App Store 發佈流程,以及透過試執行預覽讓舊建置或單一建置過期。產出的是命令指引,而非產生的檔案。
適用情境
適用於管理建置保留、等待建置處理完成,或判斷下一個可用的建置編號。也適用於透過 asc CLI 將 IPA 發佈到 TestFlight 或準備 App Store 發佈。
執行需求
需要安裝 asc CLI 並以 App Store Connect 憑證完成驗證;命令涉及應用程式、建置、群組與版本識別碼,並需要網路存取。此技能不附帶指令碼,僅包含說明。

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.

來源與署名

來源:rorkai/app-store-connect-cli-skills位於skills/asc-build-lifecycle提交9c7e769

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架