intellij-platform-plugin-template icon indicating copy to clipboard operation
intellij-platform-plugin-template copied to clipboard

Changelogs in `plugin.xml` and in Draft Release are different

Open ris58h opened this issue 1 year ago • 3 comments

patchPluginXml Gradle task uses changes of the current version but Build workflow uses Unreleased changes.

Steps to reproduce:

  1. Have CHANGELOG.md with empty Unreleased section.
  2. Have pluginVersion Gradle property set to any release version in CHANGELOG.md except of Unreleased.
  3. 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.

ris58h avatar Jun 08 '23 07:06 ris58h

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.

ris58h avatar Jun 21 '23 10:06 ris58h

It does seem to be process-specific and that can cause unexpected behavior. Maybe there could be a more process-agnostic approach?

ciscorucinski avatar Jun 22 '23 11:06 ciscorucinski

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.

ris58h avatar Jun 22 '23 12:06 ris58h