This CLI introduces a tool that automates changelog generation from "git log". It simplifies version release by organizing changelogs seamlessly.
Usage: release-helper [options]
A tool for release version and update changelog. You can customize some configurations by creating a ./release-helper.json file
Options:
-n, --new <version> Create a new version.
-release, --release [version] Release a version.
-gen-changelog, --gen-changelog Generate changelog based on organized commit messages.
-V, --version output the version number
-h, --help display help for command
You can customize some configurations by creating a ./release-helper.json file.
- Commits start with "fix:", "feat:", "JIRA-".
feat: add user profile dashboard fix: format username JIRA-0001: ensure all file exists before execution
- Finished your code change.
- Execute
$ git commit
. - Execute
$ release-helper -gen-changelog
. - Auto generate changelog based on organized commit messages.
- Checkout into the target commit and named this release branch in format
release/vx.x.x
(for example: release/v1.2.0) - Execute
$ release-helper -release [version]
.$ release-helper -release v1.2.0 # release v1.2.0 $ release-helper release # release the latest version in "Next Version" block
- The version to be released will be moved from the
Next Version
block to theReleased
block. - Bump version for
package.json
andpackage-lock.json
.