mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 07:35:48 +03:00
[GH-ISSUE #82] Add end-to-end publish workflow #25
Labels
No labels
bug
bug
documentation
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/App-Store-Connect-CLI#25
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rudrankriyam on GitHub (Jan 24, 2026).
Original GitHub issue: https://github.com/rudrankriyam/App-Store-Connect-CLI/issues/82
Summary
Add an end‑to‑end publish workflow that stitches together upload + distribution + submission into a single command. Today ASC has all the primitives (build upload prep, build attach, submit) but not a unified flow.
Proposed CLI (brainstorm)
Flags (brainstorm)
--app,--ipa,--version,--build-number--groupto add to beta groups--submitto App Store review (requires--confirm)--waitto wait for processing / review--timeoutto override upload + processing wait--output-formatand--prettyfor metadataWorkflow (brainstorm)
API Endpoints
/v1/buildUploads,/v1/buildUploadFiles,PATCH /v1/buildUploadFiles/{id}/v1/buildsand/v1/builds/{id}/v1/appStoreVersions,/v1/appStoreVersions/{id}/v1/appStoreVersionSubmissions/v1/builds/{id}/relationships/betaGroupsImplementation Plan
cmd/publish.go(orcmd/release.go) to orchestrate steps.Tests
Acceptance Criteria
--confirmfor submission.@rudrankriyam commented on GitHub (Jan 24, 2026):
@cursor
Implementation Guide
Codebase Context
This is a high-level orchestration command that stitches together existing primitives (build upload, version management, beta groups, submission). Depends on #78 (build upload flow) being complete.
Prerequisites
asc builds upload --uploadfor IPA uploadasc versions attach-buildfor attaching build to versionasc submit createfor App Store submissionasc builds add-groupsfor TestFlight distributionFile Structure
1.
internal/asc/publish.go(~100-150 lines)2.
internal/asc/client_publish.go(~100-150 lines)3.
cmd/publish.go(~350-400 lines)4. Register in
cmd/commands.goAdd
PublishCommand()to RootCommand().SubcommandsWorkflow Diagrams
TestFlight Flow:
App Store Flow:
CLI Usage Examples
Testing
make test && make lint@cursor[bot] commented on GitHub (Jan 24, 2026):
Summary:
asc publishwithtestflightandappstoreworkflows (upload, build discovery, optional processing wait, group distribution, attach/submission).Tests:
make testmake lint@rudrankriyam commented on GitHub (Jan 25, 2026):
Closed: implemented in #110.