gradle-play-publisher icon indicating copy to clipboard operation
gradle-play-publisher copied to clipboard

Support deploying to multiple tracks at the same time

Open avalanchas opened this issue 6 months ago • 6 comments

Problem description

I would like to have one build (one version code) be deployed to multiple tracks at the same time so that I don't have to promote a release manually later (in case I want multiple tracks to have the same content).

Potential solutions/workarounds

I am a beginner at this so please forgive any ignorance, but from the API docs (if I have the correct ones), it looks like this should be possible in a loop: https://developers.google.com/android-publisher/tracks#apk_workflow_example

Call the Edits.tracks: update method for each track that you want to release APKs on

I imagine a solution where I would write something like this:

gradle app:publishReleaseBundle --track=beta,alpha

play {
    track.set("alpha,beta") 
}

Additional context

Current state: the plugin tries to find a track called "alpha,beta" image

avalanchas avatar Aug 15 '24 07:08 avalanchas