e61abfe39d
Bumps [golang.org/x/mod](https://github.com/golang/mod) from 0.20.0 to 0.21.0. - [Commits](https://github.com/golang/mod/compare/v0.20.0...v0.21.0) --- updated-dependencies: - dependency-name: golang.org/x/mod dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
---|---|---|
.github | ||
cmd/changeloguru | ||
internal | ||
.gitignore | ||
.golangci.yml | ||
CHANGELOG.md | ||
LICENSE | ||
README.md | ||
go.mod | ||
go.sum | ||
justfile |
README.md
Changeloguru
Tool to generate CHANGELOG.md
, CHANGELOG.rst
from
Conventional Commits.
Install
With Go version >= 1.16
:
go install github.com/haunt98/changeloguru/cmd/changeloguru@latest
With Go version < 1.16
:
GO111module=on go get github.com/haunt98/changeloguru/cmd/changeloguru
Usage
--from
is commit in the future aka new.
--to
is commit in the past aka old.
Go from future to the past.
# Help
changeloguru --help
# Generate changelog v1.0.0
changeloguru generate --version v1.0.0
# Generate changelog v2.0.0 from HEAD to tag v1.0.0
changeloguru generate --version v2.0.0 --to v1.0.0
# Generate changelog in dry run mode (without changing anything)
changeloguru generate --version v2.0.0 --to v1.0.0 --dry-run
# Generate changelog only for scope
changeloguru generate --version v2.0.0 --to v1.0.0 --scope projectA --scope projectB
# Generate changelog in interactive mode (with instruction) and auto push commit, tag
changeloguru generate -i --auto-commit --auto-tag --auto-push
Thanks
- Command Line Interface Guidelines
- fatih/color
- go-git/go-git
- google/go-cmp
- sebdah/goldie
- stretchr/testify
- urfave/cli
Made with GoLand. Thanks for supporting open source projects!