Closed mskvorcovs closed 2 years ago
Hmmm, that all looks correct. Can you run $ cat app/build/generated/gpp/marketRelease/play/release-notes/en-US/default.txt
and see if it has your release notes? Note that I don't remember if the dir should be marketRelease
so you might have to ls app/build/generated/gpp/
and see what comes up.
It seems that 'release-notes' directory is empty
Is there anything I've missed?
Ah, well that would be your issue. When you run a publishing build, is the :app:generateMarketReleasePlayResources
task running?
According to the console output the task IS running (see below), but it is running BEFORE app:clean (might be the issue)
gradle publishMarketReleaseBundle --stacktrace
=======================================================
OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0
> Configure project :app
> Task :app:generateMarketReleasePlayResources UP-TO-DATE
> Task :app:clean
That's definitely the issue lol. Just run clean in a separate build invocation and you should be good.
I'm not sure if I understood you correctly, how am I supposed to fix that? I'm NOT calling the app:clean
task, it's being invoked by the gradle publishMarketReleaseBundle --stacktrace
The clean task does not invoke itself. Look through your build logic for the string "clean" and you'll probably find something that triggers it.
OMG, that's embarrasing! Thank you! Sorry for taking your time!
No prob
Release-notes are not being published when running publishBundle command. Thea same as mentioned here: https://github.com/Triple-T/gradle-play-publisher/issues/1043#issue-1167999984
com.github.triplet.play:com.github.triplet.play.gradle.plugin:3.7.0 Gradle 7.2 com.android.tools.build:gradle:7.1.2
The structure below was generated by running
bootstrapMarketReleaseListing
. I have renamed the production.txt -> default.txt to be able to use the same release notes for internal track.This is my config
Now, after edits in changelog I run
publishMarketReleaseBundle
to internal track and get the bundle uploaded, but not the release notes.