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 从公开仓库中收录这些内容。

举报或申请下架