asc-build-lifecycle

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

ASC Build Lifecycle

ASC 构建生命周期

Use this skill to manage build state, processing, and retention.
使用此技能管理构建状态、处理流程与保留策略。

Find the right build

找到目标构建

  • Latest build:
    • asc builds latest --app "APP_ID" --version "1.2.3" --platform IOS
  • Recent builds:
    • asc builds list --app "APP_ID" --sort -uploadedDate --limit 10
  • 最新构建:
    • asc builds latest --app "APP_ID" --version "1.2.3" --platform IOS
  • 近期构建:
    • asc builds list --app "APP_ID" --sort -uploadedDate --limit 10

Inspect processing state

检查处理状态

  • asc builds info --build "BUILD_ID"
  • asc builds info --build "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
  • 优先使用端到端流程:
    • 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 "BUILD_ID"
  • 预览过期效果:
    • asc builds expire-all --app "APP_ID" --older-than 90d --dry-run
  • 执行过期清理:
    • asc builds expire-all --app "APP_ID" --older-than 90d --confirm
  • 单个构建清理:
    • asc builds expire --build "BUILD_ID"

Notes

注意事项

  • asc builds upload
    prepares upload operations only; use
    asc publish
    for end-to-end flows.
  • For long processing times, use
    --wait
    ,
    --poll-interval
    , and
    --timeout
    where supported.
  • asc builds upload
    仅用于准备上传操作;端到端流程请使用
    asc publish
  • 针对处理时间较长的情况,请在支持的命令中使用
    --wait
    --poll-interval
    --timeout
    参数。