Go to file
Tran Hau 640d18c79d chore(changelog): generate v1.9.0 2021-04-15 04:29:49 +00:00
.github/workflows chore: only run github action on main branch (#8) 2021-04-11 16:17:55 +07:00
pkg feat: show time of each commit as the default (#12) 2021-04-15 11:28:04 +07:00
.gitignore refactor: use better commands and flags name (#7) 2021-04-11 16:11:41 +07:00
CHANGELOG.md chore(changelog): generate v1.9.0 2021-04-15 04:29:49 +00:00
Dockerfile chore: bump go 1.16 in Dockerfile 2021-03-17 05:12:22 +00:00
LICENSE chore(license): bump 2021 2021-01-21 15:54:46 +07:00
README.md chore(reamde): add --dry-run and --scope flag in guide 2021-04-14 10:10:17 +00:00
go.mod feat: add dry run (#10) 2021-04-14 14:31:00 +07:00
go.sum feat: add dry run (#10) 2021-04-14 14:31:00 +07:00
main.go feat: use my own color pkg to wrap fatih/color (#9) 2021-04-14 11:46:17 +07:00

README.md

Changeloguru

Go Go Reference

Tool to generate CHANGELOG.md from Conventional Commits.

Install

With Go version >= 1.16:

go install github.com/haunt98/changeloguru@latest

With Go version < 1.16:

GO111module=on go get github.com/haunt98/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