Conventional::Changelog
Generates a CHANGELOG.md file from Git metadata using the AngularJS commit conventions.
Installation
$ gem install conventional-changelog
Usage
$ conventional-changelog
or programatically:
require 'conventional_changelog'
ConventionalChangelog::Generator.new.generate!
Examples
Converts this:
2015-03-30 feat(admin): increase reports ranges
2015-03-30 fix(api): fix annoying bug
2015-03-28 feat(api): add cool service
2015-03-28 feat(api): add cool feature
2015-03-28 feat(admin): add page to manage users
into this:
<a name="2015-03-30"></a>
### 2015-03-30
#### Features
* **admin**
* increase reports ranges (4303fd4)
#### Bug Fixes
* **api**
* fix annoying bug (4303fd5)
<a name="2015-03-28"></a>
### 2015-03-28
#### Features
* **api**
* add cool service (4303fd6)
* add cool feature (4303fd7)
* **admin**
* add page to manage users (4303fd8)
Contributing
- Fork it ( https://github.com/[my-github-username]/conventional-changelog/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request