Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Play release promotion #345

Merged
merged 15 commits into from
Sep 14, 2023
Merged

Conversation

priitlatt
Copy link
Contributor

@priitlatt priitlatt commented Sep 12, 2023

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

  • google-play tracks promote-release

@priitlatt priitlatt changed the title Feature/google play track promotion Google Play release promotion Sep 13, 2023
@priitlatt priitlatt added the enhancement New feature or request label Sep 13, 2023
@priitlatt priitlatt marked this pull request as ready for review September 13, 2023 09:35
Copy link
Contributor

@helinanever helinanever left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some nits

CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
docs/google-play/tracks/promote-release.md Outdated Show resolved Hide resolved
docs/google-play/tracks/promote-release.md Outdated Show resolved Hide resolved
docs/google-play/tracks/promote-release.md Outdated Show resolved Hide resolved
docs/google-play/tracks/promote-release.md Outdated Show resolved Hide resolved
docs/google-play/tracks/promote-release.md Outdated Show resolved Hide resolved
docs/google-play/tracks/promote-release.md Show resolved Hide resolved
Copy link
Contributor

@helinanever helinanever left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One last nit, but overall LGTM

docs/google-play/tracks/promote-release.md Outdated Show resolved Hide resolved
src/codemagic/tools/google_play/arguments.py Outdated Show resolved Hide resolved
@priitlatt priitlatt merged commit 4ee252c into master Sep 14, 2023
5 checks passed
@priitlatt priitlatt deleted the feature/google-play-track-promotion branch September 14, 2023 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants