CLI tool to create changelogs and releases
npm install @flaivour/releaserReleaser is a command-line utility for organizing your changelog file that lists changes between application versions. It is intended to NPM based projects, and respects keepachangelog format.
npm i --save-dev @flaivour/releaser
You may define the following commands:
``javascript`
// package.json
"scripts" : {
"release": "releaser release",
"changelog": "releaser changelog",
}
- changelog [options] : Create changelog entry
- release [options] : Parse changelog entries and create new release
> You may use --help argument for more informations about usage and available flags.
It creates a new changelog file at changelogs/ describing the changes made by the current branch. Some questions will be asked for this purpose if the command is called without parameters.
It retrieves files in changelogs to create a new release entry in CHANGELOG.md. This new version is computed by incrementing the one defined in package.json` in a choosen way. Some questions will be asked for this purpose if the command is called without parameters.
This is released under the MIT License.