跳到主要内容
知仓学习社ZHICANG

asc-build-lifecycle

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

不碰外部(只输出文字)无严重或高危命中rorkai/app-store-connect-cli-skills

它会碰到什么

扫了多少1 个文本文件,2 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

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.

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。