changelog-from-release

command module
v2.2.2+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2021 License: MIT Imports: 14 Imported by: 0

README

Tiny ChangeLog Generator via GitHub Releases

CI

changelog-from-release is a (too) small command line tool to generate changelog. It fetches releases of repository from GitHub API and generates changelog in Markdown format.

For example, CHANGELOG.md is generated from the releases page.

Real-world examples:

Installation

Download binary from the releases page or build from sources with Go toolchain.

$ go get github.com/rhysd/changelog-from-release

Usage

Running changelog-from-release with no argument generates changelog in Markdown format and outputs it to stdout. Please redirect the output to your changelog file for updating.

$ cd /path/to/repo
$ changelog-from-release > CHANGELOG.md
$ cat CHANGELOG.md

Automation with GitHub Actions is also offered.

- uses: rhysd/changelog-from-release/action@v2
  with:
    file: CHANGELOG.md
    github_token: ${{ secrets.GITHUB_TOKEN }}

Please read action's README for more details.

For GitHub Enterprise, please set GITHUB_API_BASE_URL environment variable.

export GITHUB_API_BASE_URL=https://github.your-company.com/api/v3

License

the MIT License

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL