Comments (5)
Hi @kevmo314!
This got slightly delayed but has now been merged in #289.
For Codemagic CLI tools users
The following actions:
now accept the flag --cancel-previous-submissions
.
The flag acts the same as fastlane's reject_if_possible
. Where before submission, there's an attempt to cancel any previous submission for the application that is in any of the following states: WAITING_FOR_REVIEW
, IN_REVIEW
or UNRESOLVED_ISSUES
.
The following actions:
now accept the flag --expire-build-submitted-for-review
.
The flag acts similarly to fastlane's reject_build_waiting_for_review
; however, a build both in status IN_REVIEW
, and WAITING_FOR_REVIEW
is expired, as in both cases further submissions are blocked.
Alternatively, these actions (which are used within the flags) can be called directly for a specific application as well, such as:
app-store-connect apps expire-build-submitted-for-review <app-id>
- docsapp-store-connect apps cancel-review-submissions <app-id>
- docs
When using the flag, the blocking build or submission will be expired/cancelled if in a state where it is possible. For cancel-review-submissions
, within the action itself, it is possible to target more specifically what you wish to cancel, e.g., specify the platform or state to cancel; see docs. Note that an expired build will no longer be available for testers.
For Codemagic CI/CD users
This option was also added for Codemagic CI/CD users using the codemagic.yaml
configuration. The relevant examples have been added to the documentation.
For submitting to Testflight, the publishing section has to be updated as follows:
publishing:
app_store_connect:
submit_to_testflight: true
expire_build_submitted_for_review: true
And for App Store, as follows:
publishing:
app_store_connect:
submit_to_app_store: true
cancel_previous_submissions: true
Along with these, some other actions were introduced with the PR, which can be seen in the changelog.
Thanks again for the feedback and request! :) Please try it out, and let us know if you encounter any unexpected behaviour.
from cli-tools.
Hi! :)
Good proposal. However, to understand the aims and goals better, based on your description, it seems that the more fitting extension would be equivalent to Fastlane's reject_build_waiting_for_review
instead of expire_previous_builds
.
Please correct me if I am missing something. Thanks! :)
from cli-tools.
This would be similar to fastlane's reject_if_possible
: http://docs.fastlane.tools/actions/upload_to_app_store/#upload_to_app_store
or expire_previous_builds
for testflight: https://docs.fastlane.tools/actions/pilot/
from cli-tools.
Hi @kevmo314, thanks for bringing this up. This sure sounds like a useful addition to app-store-connect publish
. We'll give it some more thought on how to implement it and let you know. But please note that as of now I'm not yet able to give any ETA for it.
from cli-tools.
Yeah that's probably correct. We run publish as our last CI/CD step right now and it fails due to an existing build being in review (both testflight and app store) so the ideal behavior would be to be able to unmark the older builds
from cli-tools.
Related Issues (20)
- Getting the latest build number across ALL versions HOT 3
- Firebase app distribution get latest build version is not working HOT 1
- firebase-app-distribution's Project ID to Project Number
- Swift package plugin can't find underlying command HOT 7
- Add support for publishing macOS versions to TestFlight
- Add all environmental variables to .env file HOT 1
- Output version number together with build number when running `app-store-connect get-latest-testflight-build-number --json` HOT 6
- Sometimes getting the following error when publishing macOS to TestFlight `422: The build is not in a valid processing state for this operation. - The build is not in a valid processing state for this operation.`` HOT 13
- Make retries for finding build customizable HOT 2
- Add option for phased released when publishing iOS or macOS HOT 6
- TypeError when auto-promoting Google Play channel with release notes HOT 3
- Remove usage of distutils, no support for Python 3.12+ HOT 3
- Use `packaging` package instead of deprecated `distutils.version` to fix GitHub macOS 13 runner. HOT 2
- Be able to set both tags triggers at the same time as branch filtering HOT 2
- Adding profile entitlements dynamically HOT 3
- `use-profiles` against MacOS app has suddenly started assigning iOS Provisioning Profiles HOT 4
- Store review status
- Feature Request: Build number for google play includes unpublished/draft AABs HOT 1
- Need to remove the deprecated `idfaDeclarations` field from `Relationships` HOT 3
- Feature Request: Modify an App Info Localization [AppStoreConnect] HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cli-tools.