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.13k stars 341 forks source link

Use last release notes when none are specified #763

Closed vanniktech closed 4 years ago

vanniktech commented 4 years ago

As a good default, I'd like to have the last release notes in case I didn't specify anything. This is better than having none at all. As for the selection process, the release notes that were used in the previously highest version code.

SUPERCILEX commented 4 years ago

Hmmmm, I've thought of this before but haven't done anything because it's hard to know to know where the release notes should come from. You're suggesting picking from the highest version code, but that wouldn't work for places that automatically generate internal release notes for the internal/alpha channels. Would picking the release channel's previous changelog make sense?

vanniktech commented 4 years ago

Would picking the release channel's previous changelog make sense?

How about the channel we're publishing to? So if we publish 480 to beta and there's a changelog for 478 in beta, let's pick that one.

SUPERCILEX commented 4 years ago

Dope, that's what I was trying to get at. I could do that. 👍

vanniktech commented 4 years ago

Dope. Will be sure to test this out with the next release!

panpeter commented 1 year ago

@SUPERCILEX at the moment the plugin seems to reuse the latest release notes only when it's a full rollout. Would it be possible to reuse release notes also when it's a staged rollout?

SUPERCILEX commented 1 year ago

If there's an API to support that, sure.