Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to re-generate the entire changelog #1009

Open
MarcoIeni opened this issue Sep 30, 2023 · 2 comments
Open

Add ability to re-generate the entire changelog #1009

MarcoIeni opened this issue Sep 30, 2023 · 2 comments
Labels
enhancement New feature or request priority:low This can wait

Comments

@MarcoIeni
Copy link
Owner

Motivations

Release-plz only appends the new changes to the changelog.
It would be nice if it could generate the whole changelog from scratch. This can be useful because:

  • if you change the changelog configuration, you can apply the changes also to previous releases
  • if you haven't used release-plz before, you can generate the changelog for previous versions

Solution

This should be a new release-plz subcommand. release-plz update should only append the changes for the new version.

TODO

Additional context

Suggested here

@MarcoIeni MarcoIeni added the enhancement New feature or request label Sep 30, 2023
@intgr
Copy link

intgr commented Dec 11, 2023

One can also call git cliff directly. By default it will generate the whole changelog.

@MarcoIeni
Copy link
Owner Author

yes, we just need to make sure to use the same release-plz config:

fn default_changelog_body_config(release_link: Option<&str>) -> String {

I need to document this better

@MarcoIeni MarcoIeni added the priority:low This can wait label Feb 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority:low This can wait
Projects
None yet
Development

No branches or pull requests

2 participants