gen-changelog
is a wrapper around the GitHub CLI gh
which
automatically generates boilerplate for go-changelog
so you can easily write the changelog body without fiddling with files and figuring out PR numbers.
Currently the "Type" options for changelogs here are inferred from hashicorp/consul's template. Feel free to fork and adjust the options as needed.
changelog-demo.webm
You must have gh
installed and authenticated. See https://cli.github.com/ for installation instructions.
go install github.com/kisunji/gen-changelog@latest
Currently, gen-changelog
can only be run in a git repository root where it expects to find the .changelog
directory.
You can optionally alias the gen-changelog
to something like gcl
for ease of typing.
I consider this complete enough to use in my daily workflow, but contributions are welcome.