Generate changelog from git history, tags and merged pull requests for Backlog
% go get github.com/vvatanabe/gbch/cmd/gbch/
% gbch -r /path/to/repo [--format markdown]
Options
-r, --repo= git repository path (default: .)
-g, --git= git path (default: git)
-f, --from= git commit revision range start from
-t, --to= git commit revision range end to
--latest output changes between latest two semantic versioned tags
--apikey= backlog api key
--remote= default remote name (default: origin)
-F, --format= json or markdown
-A, --all output all changes
-N, --next-version=
-w write result to file
--show-uid show the unique id on nulab account (Only user integrated with nulab account)
Backlog's api key is required because this CLI depends on Backlog API v2, it is used in the following order of priority.
- command line option
--apikey
- enviroment variable
BACKLOG_API_KEY
git 1.8.5 or newer is required.
% gbch --format=markdown --next-version=v0.30.3 --all
...
% gbch --from v0.9.0 --to v0.9.1
...
gbch's origin is github.com/Songmu/ghch. I appreciate it a lot.
For bugs, questions and discussions please use the GitHub Issues.