Closed Jintin closed 4 years ago
That's expected behavior. First, let me tell you about how things should work with the reasoning attached, then we can figure out if it needs changing. How things work:
default.txt
), always use those.
promoteTrack
.
From your perspective, how should it work?
From my perspective, it would be nice if for example: When we promote from Alpha to Beta, the Beta release note will be override by Alpha, and the play console release note will update together as well.
But never tried the default yet, are you saying the promote task will use default.txt
to cover existing release note? If so it can cover the major flow but if in some rare scenario it will still work unexpected like you have two working track internal -> alpha and beta -> production in the same time.
Anyway what do you think about the proposal?
Hmmm, yeah, I think your way actually makes more sense from a conceptual standpoint. Everything is copied over from the fromTrack
.
Let me know if there's anything I can help, this project is quite interesting.
Describe the bug
Using wrong release note when promoteArtifact
How To Reproduce
I have a release in internal channel and promote to alpha via
./gradlew promoteArtifact --from-track internal --promote-track alpha
But the release not is not using the internal one but the alpha one.Versions
Tasks executed
./gradlew promoteArtifact --from-track internal --promote-track alpha
Expected behavior
The release note should using internal one and better to update local text as well.