changeloguru/README.md

1.4 KiB

Changeloguru

Go Go Reference

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

# 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 --to v1.0.0 --version v2.0.0

# Generate changelog in dry run mode (without changing anything)
changeloguru generate --to v1.0.0 --version v2.0.0 --dry-run

# Generate changelog only for scope
changeloguru generate --to v1.0.0 --version v2.0.0 --scope projectA --scope projectB

Thanks