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

Override existing release notes #1040

Closed msarelo closed 2 years ago

msarelo commented 2 years ago

Is it possible to override existing release notes?

SUPERCILEX commented 2 years ago

See https://github.com/Triple-T/gradle-play-publisher#uploading-release-notes. If you use that, your release notes will be overridden.

msarelo commented 2 years ago

See https://github.com/Triple-T/gradle-play-publisher#uploading-release-notes. If you use that, your release notes will be overridden.

Overriding not working for me, I can upload it once, only release notes was empty before.

SUPERCILEX commented 2 years ago

You'll need to use the promote task with the update flag: https://github.com/Triple-T/gradle-play-publisher#promoting-artifacts

msarelo commented 2 years ago

You'll need to use the promote task with the update flag: https://github.com/Triple-T/gradle-play-publisher#promoting-artifacts

I tried without success. Logs from Jenkins:

Task :app:promoteReleaseArtifact Promoting release from track 'internal' Updating [completed] release (com.test.app:[9]) in track 'internal' Task :commitEditForComDotTestDotApp Committing changes

BUILD SUCCESSFUL in 23s

msarelo commented 2 years ago

After some improvements, I got this: { "code": 400, "errors": [ { "domain": "global", "message": "Release notes are badly constructed or have duplicates.", "reason": "badRequest" } ], "message": "Release notes are badly constructed or have duplicates.", "status": "INVALID_ARGUMENT" }

SUPERCILEX commented 2 years ago

What are the contents of your release notes?

msarelo commented 2 years ago

simple text

github-actions[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.