A very lightweight command line tool for generating a changelog from git tags and commit history.
$ npm install -g autochangelog
Run command below in the root directory of your git project directly.
$ autochangelog
Get more helps:
$ autochangelog -h
Usage: autochangelog [options]
Options:
-v, --version output the version number
-o, --output <file> output file (default: "CHANGELOG.md")
-l, --commit-limit <count> number of commits to display per release (default: 5)
-c, --version-limit <count> number of version to release (default: 20)
--no-date remove date
--no-group Do not group the commit history base on Conventional Commits for commit guidelines
--filter <pattern> filter commit by given reg pattern, for example: "^(new|fix(e(d|s))?)$"
-h, --help output usage information
Add the badge to your README using the following markdown:
[![autochangelog happy](https://img.shields.io/badge/autochangelog-happy-yellow.svg?style=flat-square)](https://github.com/roshanca/autochangelog)
MIT license (© 2020 Roshan Wu)