This PR aims to introduce a few enchantments to existing logic. Namely, if there's an active submission in either App Store or TestFlight, any further attempts to create new submissions will fail. In this PR, options are introduced to solve this issue for both App Store review and TestFlight review.
Updates to existing actions:
new option --beta-review-state for the action app-store-connect apps builds
new option --cancel-previous-submissions for the action app-store-connect builds submit-to-app-store
new option --expire-build-submitted-for-review for the action app-store-connect builds submit-to-testflight
new option --beta-review-state for the action app-store-connect list-builds
new options --expire-build-submitted-for-review and --cancel-previous-submissions for the action app-store-connect publish
This PR aims to introduce a few enchantments to existing logic. Namely, if there's an active submission in either App Store or TestFlight, any further attempts to create new submissions will fail. In this PR, options are introduced to solve this issue for both App Store review and TestFlight review.
Updates to existing actions:
--beta-review-state
for the actionapp-store-connect apps builds
--cancel-previous-submissions
for the actionapp-store-connect builds submit-to-app-store
--expire-build-submitted-for-review
for the actionapp-store-connect builds submit-to-testflight
--beta-review-state
for the actionapp-store-connect list-builds
--expire-build-submitted-for-review
and--cancel-previous-submissions
for the actionapp-store-connect publish
Newly added actions:
app-store-connect apps expire-builds
app-store-connect builds app
app-store-connect apps expire-build-submitted-for-review
app-store-connect builds expire
app-store-connect apps cancel-review-submissions
app-store-connect apps list-review-submissions
QA:
--beta-review-state
(single and multiple values) ✅app-store-connect review-submissions list
based on state ✅platform
,state
args function as wanted) ✅expire-builds
expires all builds except the one passed as an argument ✅expire-builds
accepts multiple values ✅expire
targets a specific build and expires it ✅expire-build-submitted-for-review
only expires a build that isIN_REVIEW
orWAITING_FOR_REVIEW
state ✅app-store-connect builds app
returns application info for given build ✅Resolves https://github.com/codemagic-ci-cd/cli-tools/issues/288.