-
I was already using git-cliff for my changelog before migrating my CI to use release-plz today. I have a cliff.toml config file where I changed some defaults to my liking. When I get a PR from release-plz, it seems the wrong changelog section (with the old version number) is included, and the Changelog file shows all the changes since last version under the "[unreleased]" section. I would expect the release PR to have the new version number show up at the top of the changelog and all changes under there, as well as that section included in the PR comment/body. I'm probably doing something wrong but not sure what. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
removing Still doesn't look 100% right, but maybe you can play with other git-cliff options? For example, you might want to remove the footer (I don't think release-plz handles the git-cliff footer correctly), and add Overall, I should make a better job at documenting how to configure git-cliff for release-plz. See #1006 :/ |
Beta Was this translation helpful? Give feedback.
removing
skip_tag
fromcliff.toml
fixed the issue. Not sure why. The problem is that this is true, and so git-cliff skips the release.Still doesn't look 100% right, but maybe you can play with other git-cliff options? For example, you might want to remove the footer (I don't think release-plz handles the git-cliff footer correctly), and add
[unreleased]
to theheader
.Overall, I should make a better job at documenting how to configure git-cliff for release-plz. See #1006 :/