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 for phased released when publishing iOS or macOS #351

Closed nilsreichardt closed 4 months ago

nilsreichardt commented 11 months ago

image

In App Store Connect you can select the option for phased release. If you choose this option, your version update will be released over a 7-day period to a percentage of your users (selected at random by their Apple ID) on iOS or macOS with automatic updates turned on. Users aren’t notified that they're in a phased release of your app.

Docs: https://developer.apple.com/help/app-store-connect/update-your-app/release-a-version-update-in-phases API docs: https://developer.apple.com/documentation/appstoreconnectapi/app_store/app_store_version_phased_releases

I would appreciate it if you could specify this option as an argument.

ziga-hvalec commented 5 months ago

Any update on this? This would be very useful for us. Right now we have to do manual release and then set this before starting the release.

helinanever commented 5 months ago

Thanks for bringing this to our attention once again. @ziga-hvalec would you be using this for iOS releases or macOS as well?

ziga-hvalec commented 5 months ago

just ios

priitlatt commented 4 months ago

@nilsreichardt @ziga-hvalec I've opened PR #402 to add phased releases support for actions app-store-connect publish and app-store-connect builds submit-to-app-store. CLI switch --phased-release has to be used to enable phased release for App Store version.

You can test it out by using a pre-release from test PyPI mirror:

pip install -i https://test.pypi.org/simple/ codemagic-cli-tools

Please let me know if this will suffice or if there is something I'm currently missing.

priitlatt commented 4 months ago

This is released now and available in version 0.51.0. I hope you'll find it useful and in case of any issues, please let us know.

ziga-hvalec commented 3 months ago

you are amazing. thank you very much. this now enables us to fully automatize this process. before we had to set it to phased release manually and then release the app. now it's just one button press