f3ath/git-changelog

Changelog Release Notes Generator for Git and PHP

1.0.7 2017-01-07 01:48 UTC

README

Generates release notes in changelog format. Like this:

## [0.0.1] - 2016-12-24
- RepoDetector fix
- Update README.md
- composer binary
- Initial commit

And like this:

## [0.0.2](https://github.com/f3ath/git-changelog/compare/0.0.1...0.0.2) - 2016-12-24
- Added: README example

Install

With composer:

composer require f3ath/git-changelog --dev

Usage

For the latest tag:

vendor/bin/changelog

For an arbitrary tag:

vendor/bin/changelog 0.0.3

Configuration

By default, the remote named "origin" is used for getting details about tags, building the comparison URL, etc. It is possible to change this behavior by placing a configuration file .changelog.json in the current directory.

{
  "remote": "upstream"
}

Troubleshooting

Make sure you have fetched the latest state of your remote before running the generator.

git fetch upstream

Contributing

is always welcome.