build: add tool to auto-generate changelog (#5)

Add the `git-chglog` tool to handle auto-generating the project changelog
based on the commit history. Add a custom configuration and file template.
Update the Makefile to include a command to generate the changelog.
This commit is contained in:
Hector
2021-02-07 11:15:41 +00:00
parent 3cb7c71b17
commit 50e1d4b8c8
4 changed files with 86 additions and 0 deletions

View File

@ -14,6 +14,9 @@ format:
go fmt $(go list ./... | grep -v /vendor/)
go vet $(go list ./... | grep -v /vendor/)
generateChangelog:
./tools/git-chglog_linux_amd64 --config tools/chglog/config.yml 0.0.0.. > CHANGELOG.md
build/snapshot:
./tools/goreleaser_linux_amd64 --snapshot --rm-dist --skip-publish