codemagic-ci-cd / cli-tools

Various utilities to managing Android and iOS app builds, code signing, and deployment.
https://codemagic.io/start/
GNU General Public License v3.0
243 stars 42 forks source link

Add option to configure timeout for finding build from App Store Connect #355

Closed priitlatt closed 11 months ago

priitlatt commented 11 months ago

Resolves #350.

Once a binary is uploaded to Apple using app-store-connect publish it can take quite some time for the corresponding build to appear in App Store Connect UI and API responses. Build reference is needed to automatically submit the freshly uploaded version to TestFlight or App Store right after publishing.

For now there is a fixed 10 minute timeout period to find the build after upload completes. Occasionally this does not suffice and consequently publishing as a whole fails.

Changes in this pull request introduce new command line option --max-find-build-wait which can be used to configure the duration of the waiting period before.

Screenshot 2023-09-25 at 15 36 15

Updated actions

priitlatt commented 11 months ago

@helinanever please check the copy.