release-it / keep-a-changelog

Keep a Changelog plugin for release-it
MIT License
27 stars 15 forks source link

Verify expected changes during dry-run #14

Closed itavero closed 3 years ago

itavero commented 3 years ago

First time using release-it and this particular plugin. (Before I used changelog-verify and version-changelog to verify changelog and add links, whenever I did an npm publish).

In order to verify that my configuration is correct and the updates to the changelog by this plugin will be according to my expectations, I would love to see what the plugin would change without doing an actually release. I was hoping that the --dry-run (perhaps even with the -VV verbose flags) would give me some insight on which changes it would apply to the changelog if it wasn't a dry run. Unfortunately this does not seem to be the case, so I was wondering if there is another way to verify that the changelog is updated correctly without making/publishing an actual release.

webpro commented 3 years ago

The changelog preview is always printed, also in a dry run (and before the first prompt in interactive mode, so you can still cancel the release).

Otherwise, could you show some output or perhaps you have a repo to reproduce the issue?

webpro commented 3 years ago

Closing due to inactivity.