-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: option to reject previous builds and submissions on ASC submission #289
Conversation
Please update description with information about what actions were updated, removed and added. |
src/codemagic/tools/_app_store_connect/action_groups/builds_action_group.py
Outdated
Show resolved
Hide resolved
src/codemagic/tools/_app_store_connect/actions/publish_action.py
Outdated
Show resolved
Hide resolved
src/codemagic/tools/_app_store_connect/actions/publish_action.py
Outdated
Show resolved
Hide resolved
src/codemagic/tools/_app_store_connect/actions/publish_action.py
Outdated
Show resolved
Hide resolved
src/codemagic/tools/_app_store_connect/actions/publish_action.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe some things could be improved a little. Also we're missing updates to docs.
src/codemagic/apple/app_store_connect/versioning/review_submissions.py
Outdated
Show resolved
Hide resolved
src/codemagic/tools/_app_store_connect/action_groups/builds_action_group.py
Outdated
Show resolved
Hide resolved
src/codemagic/tools/_app_store_connect/action_groups/builds_action_group.py
Outdated
Show resolved
Hide resolved
src/codemagic/tools/_app_store_connect/action_groups/builds_action_group.py
Outdated
Show resolved
Hide resolved
…sions.py Co-authored-by: Priit Lätt <priit@nevercode.io>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs some more work on it.
src/codemagic/apple/app_store_connect/versioning/review_submissions.py
Outdated
Show resolved
Hide resolved
src/codemagic/tools/_app_store_connect/action_groups/builds_action_group.py
Outdated
Show resolved
Hide resolved
src/codemagic/tools/_app_store_connect/actions/publish_action.py
Outdated
Show resolved
Hide resolved
src/codemagic/tools/_app_store_connect/actions/publish_action.py
Outdated
Show resolved
Hide resolved
src/codemagic/tools/_app_store_connect/actions/publish_action.py
Outdated
Show resolved
Hide resolved
src/codemagic/tools/_app_store_connect/action_groups/builds_action_group.py
Outdated
Show resolved
Hide resolved
This reverts commit cc482c6.
src/codemagic/tools/_app_store_connect/action_groups/apps_action_group.py
Outdated
Show resolved
Hide resolved
src/codemagic/tools/_app_store_connect/action_groups/apps_action_group.py
Show resolved
Hide resolved
src/codemagic/tools/_app_store_connect/action_groups/apps_action_group.py
Show resolved
Hide resolved
src/codemagic/tools/_app_store_connect/action_groups/apps_action_group.py
Outdated
Show resolved
Hide resolved
src/codemagic/tools/_app_store_connect/action_groups/apps_action_group.py
Outdated
Show resolved
Hide resolved
src/codemagic/tools/_app_store_connect/action_groups/builds_action_group.py
Outdated
Show resolved
Hide resolved
src/codemagic/tools/_app_store_connect/action_groups/builds_action_group.py
Outdated
Show resolved
Hide resolved
src/codemagic/tools/_app_store_connect/actions/publish_action.py
Outdated
Show resolved
Hide resolved
Co-authored-by: Priit Lätt <priit@nevercode.io>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No more complaints. Everything looks good.
@VeArnold, great job with this feature development! 👍 |
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 #288.