mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 15:45:48 +03:00
[PR #489] [MERGED] Builds latest next number #563
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#563
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?
📋 Pull Request Information
Original PR: https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/489
Author: @rudrankriyam
Created: 2/11/2026
Status: ✅ Merged
Merged: 2/11/2026
Merged by: @rudrankriyam
Base:
main← Head:cursor/builds-latest-next-number-ab27📝 Commits (3)
b4dd069test: cover builds latest --next821df9bfeat: add builds latest --next76391aefix: support dotted build numbers for --next📊 Changes
5 files changed (+817 additions, -25 deletions)
View changed files
📝
internal/asc/output_builds.go(+35 -0)📝
internal/asc/output_registry_init.go(+1 -0)📝
internal/cli/builds/builds_latest.go(+245 -24)📝
internal/cli/builds/builds_latest_test.go(+73 -1)📝
internal/cli/cmdtest/builds_latest_output_test.go(+463 -0)📄 Description
Summary
Adds a
--nextflag toasc builds latestto provide a collision-safe next build number for CI systems. This number is derived by considering both processed builds and in-flight build uploads, preventing potential collisions. An--initial-build-numberflag is also introduced for scenarios with no prior build history. The existingasc builds latestbehavior remains unchanged by default.Validation
make formatmake lintmake testgo test ./internal/cli/builds -run 'Latest.*Next|BuildNumber'go test ./internal/cli/cmdtest -run 'BuildsLatest'Wall of Apps (only if this PR adds/updates a Wall app)
docs/wall-of-apps.json(not the generated Wall block inREADME.mddirectly)make update-wall-of-appsdocs/wall-of-apps.jsonREADME.mdEntry template:
Common Apple labels:
iOS,macOS,watchOS,tvOS,visionOS.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.