Skip to content

Changelog action shouldn't delete fragments on pre-release #1137

@Andy-Grigg

Description

@Andy-Grigg

📝 Description of the feature

The changelog action currently deletes all consolidated changelog fragments on creating a pre-release changelog. This isn't great, because it means if one does a release candidate followed immediately by a release, there are no changes included in the release because they were all previously released in the candidate. Since most users won't look at the changes for a pre-release build, these are essentially lost.

It would be better if they either weren't deleted for a pre-release build (each pre-release for a given release would contain all changelog fragments up until that point) or were stashed in a separate folder.

A workaround currently used by PyGranta packages is to decline the PR against main and to revert the automatic commit following pre-release publishing on the release branch.

💡 Steps for implementing the feature

No response

🔗 Useful links and references

No response

Metadata

Metadata

Assignees

Labels

enhancementGeneral improvements to existing features

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions