changefrog
v1.1.0
Published
Automatically update changelog for next release.
Downloads
3
Readme
:frog: Changefrog
We regularly have to update changelogs. One of these moments is when releasing a new version. We have to add a new version number, add the date, and provide a link. And we easily make mistakes. Which we only notice after the release. :cry: Solution: Changefrog!
Changefrog is a tool that automatically updates a changelog. It adds a new version based on the unreleased section.
Usage
- Install Changefrog via
npm i -g changefrog
. - Execute Changefrog via
changefrog -i major
. This auto-increment the major version number in the CHANGELOG file. - Get more usage information via
changefrog -h
.
Requirements
The requirements of a CHANGELOG file in order for Changefrog to work are
- It contains an unreleased section. This section can be empty.
- Unreleased is written as "Unreleased".
- At least one compare link is at the bottom.
An example is
[0.1.0]: https://github.com/user/repo/compare/v0.0.1...v0.1.0
.
Find an example here.
License
© 2020 Pieter Heyvaert, MIT License