Skip to content

Unexpected & undesriable CHANGELOG results when prerelease then release #555

Open
@claverru

Description

@claverru

The problem

I have two CI/CD jobs: one for prerelease that is executed on branches != main and one for (final) release, which is executed when merging to main.

If you create a prerelease from a branch, CHANGELOG.md will be updated, creating a new section with the prerelease version (e.g. x.x.xrc1)

Then, when the release is created, a new section is created for it in the CHANGELOG (e.g. x.x.x), but this section is empty.

Either I'm doing something wrong or the CHANGELOG interaction when prereleasing wasn't taken into account.

Expected

The optimal would be deleting the prerelease section in the CHANGELOG and creating a new section for the release with the changes made since the last release on it.

Library Version

Latest version

Metadata

Metadata

Assignees

Labels

bugSomething isn't working properlyconfirmedPrevent from becoming stale

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions