changeloguru/README.md

29 lines
784 B
Markdown

# Changeloguru
![Go](https://github.com/haunt98/changeloguru/workflows/Go/badge.svg?branch=main)
[![PkgGoDev](https://pkg.go.dev/badge/github.com/haunt98/changeloguru)](https://pkg.go.dev/github.com/haunt98/changeloguru)
Tool to generate `CHANGELOG.md` from [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/).
## Install
```sh
GO111module=on go get github.com/haunt98/changeloguru
```
## Usage
```sh
# Help
changeloguru --help
# Generate changelog v1.0.0
changeloguru --version v1.0.0
# Generate changelog v2.0.0 from HEAD to tag v1.0.0 (include commit in tag v1.0.0)
changeloguru --include-to v1.0.0 --version v2.0.0
# Generate changelog v2.0.0 from HEAD to tag v1.0.0 (exclude commit in tag v1.0.0)
changeloguru --exclude-to v1.0.0 --version v2.0.0
```