Triple-T / gradle-play-publisher

GPP is Android's unofficial release automation Gradle Plugin. It can do anything from building, uploading, and then promoting your App Bundle or APK to publishing app listings and other metadata.
MIT License
4.1k stars 339 forks source link

Downgrading priority not being respected. #1076

Open mattbusuu opened 1 year ago

mattbusuu commented 1 year ago

Describe the bug

After releasing a second version of the app, the update priority is not being lowered. E.g. Creating 2 releases, release A at priority 5, then release B at priority 1. I am seeing priority 5 come back from the Google in App update API, despite setting priority back down to 1.

I have even tried removing it entirely but the result is the same. We are currently publishing to internal and then manually promoting the release from internal to production.

The gradle code is just as follows:

play {
    updatePriority.set(0)
}

The task we are using to publish is:

Additional context (if a crash, provide stack trace) We have managed publishing turned on