Skip to content

A tool to generate changelog entries from GitHub repositories.

License

Notifications You must be signed in to change notification settings

digitalocean/github-changelog-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GHCL – GitHub ChangeLog Generator

Build Status

A changelog generator for GitHub.

The generator works by,

  • Fetching the time of your repository's most recent release,
  • Fetching all pull requests merged after the time of your most recent release,
  • Outputting a summary of those pull requests.

Installation

github-changelog-generator must be installed from source. To install, run go get -u github.com/digitalocean/github-changelog-generator. A github-changelog-generator binary will then be available under your $GOBIN directory.

Usage

Usage of github-changelog-generator
  -org string
    	organization (required)
  -repo string
    	repository (required)
  -token string
    	GitHub token (default env GITHUB_TOKEN)
  -url string
    	alternative GitHub API URL, must be a fully qualified URL with a trailing slash (optional)

The output is in the format - #<pull request number> - @<github username> - <pull request title>. An example of the output is shown below.

- #3 - @some_contributor - update contibuting file
- #2 - @myteammate - update README.md
- #1 - @me - First PR

If there haven't been any changes to the repository since the latest release, the changelog generator will not show any output.

Testing

Some tests use the network to test against real data. To avoid running these with the rest of the suite, use go test -short ./.... See CONTRIBUTING.md for more information.

License

GitHub changelog generator is Apache-2.0 licensed.

About

A tool to generate changelog entries from GitHub repositories.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages