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

Google Play release promotion #345

Closed priitlatt closed 11 months ago

priitlatt commented 12 months ago

In Google Play is is possible to promote a release from one release track to another. For example, one might initially publish the release binary (aab or apk) to be internally tested. Once is tested, then the same version could be promoted to either some broader test track like or directly to production.

This PR introduces new action google-play tracks promote-release to promote release from one track to another.

Example usage:

$ google-play tracks promote-release --package-name "io.codemagic.capybara" --source-track "internal" --target-track "alpha" --release-status "draft"
Promote release 1.0.2 (437) from track "internal" to track "alpha"
Successfully completed release promotion to track alpha
Track: alpha
Releases: [
        Status: draft
        Name: 1.0.2
        Version codes: [
                437
        ]
]

New actions