Hi there!
I encountered a problem in the genration of my changelog for several versions of a project. See this issue for more details.
I would like to generate from scratch my changelog and then have proper entries for each version.
I've just used conventional-changelog-cli to do the job for me.
conventional-changelog -p angular -i CHANGELOG.md -s -r 0
This will generate the changelog for all your previouse tags.
@weaintplastic
Thanks for the suggestion :)
standard-version --first-release doesn't work for you?
@stevemao unfortunately not. --first-release is not going through the entire commit history and creates a changelog from scratch. It just does not bump the version number.
@weaintplastic @Conaclos I'll lead with my periodic apology related to disappearing from open-source馃槢
One thought, perhaps we could document some advanced topics, e.g., using conventional-changelog to regenerate commits, in docs/advanced.md?
I feel like this feature should live here too by adding another flag...
@stevemao I agree. Would be really helpful to integrate that.
+1
+1
+1
Simply adding resetChangelog: true to the context would make this possible.
const context = { version: newVersion, resetChangelog: true }
Would be simple to implement with a command flag.
Example: https://github.com/r15ch13/standard-version/commit/8561f1ca880b4eb000a614ae9dbc6f5fcaab2d60
^ would be quite a useful feature.
Any progress on this?
Most helpful comment
Any progress on this?