asc-build-lifecycle
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chineseasc build lifecycle
asc 构建生命周期
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
- Recent builds:
asc builds list --app "APP_ID" --sort -uploadedDate --limit 10
- 最新构建:
asc builds info --app "APP_ID" --latest --version "1.2.3" --platform IOS
- 下一个可用构建编号:
asc builds next-build-number --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-id "BUILD_ID"
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" --waitasc 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" --waitasc 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
- 预览过期效果:
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-id "BUILD_ID" --confirm
Notes
注意事项
- prepares upload operations only; use
asc builds uploadfor end-to-end flows.asc publish - For long processing times, use ,
--wait, and--poll-intervalwhere supported.--timeout
- 仅准备上传操作;端到端流程请使用
asc builds upload。asc publish - 对于处理时间较长的任务,请在支持的命令中使用、
--wait和--poll-interval参数。--timeout