cli-tools icon indicating copy to clipboard operation
cli-tools copied to clipboard

Add option for phased released when publishing iOS or macOS

Open nilsreichardt opened this issue 1 year ago • 3 comments

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.

nilsreichardt avatar Sep 19 '23 10:09 nilsreichardt

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.

ziga-hvalec avatar Apr 09 '24 13:04 ziga-hvalec

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

helinanever avatar Apr 09 '24 13:04 helinanever

just ios

ziga-hvalec avatar Apr 09 '24 13:04 ziga-hvalec

@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 avatar May 02 '24 15:05 priitlatt

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.

priitlatt avatar May 06 '24 11:05 priitlatt

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

ziga-hvalec avatar May 14 '24 17:05 ziga-hvalec