intellij-platform-plugin-template
intellij-platform-plugin-template copied to clipboard
Changelogs in `plugin.xml` and in Draft Release are different
patchPluginXml
Gradle task uses changes of the current version but Build
workflow uses Unreleased
changes.
Steps to reproduce:
- Have
CHANGELOG.md
with emptyUnreleased
section. - Have
pluginVersion
Gradle property set to any release version inCHANGELOG.md
except ofUnreleased
. - Run workflows in
.github/workflows/build.yml
.
Expected behavior:
Changelogs in plugin.xml
and in Draft Release are the same.
Additional context:
Changelogs in plugin.xml
and in Draft Release are different.
It seems like all it's done later on release
.
I only use build
workflow without release
workflow and I upload my plugin manually so it was confusing to me that a draft release doesn't contain an actual changes (and an artifact).
Anyway, being able to review an actual changes in a draft release would be useful.
It does seem to be process-specific and that can cause unexpected behavior. Maybe there could be a more process-agnostic approach?
I believe it's possible to make it more process-agnostic. I don't see why we shouldn't put an actual changelog in a draft release.
An artifact is a different thing and as I get from README there is a reason for not putting it in a draft release. May be we should introduce a settings to make it optional but it's a different question anyway and doesn't relate to the changelog.