Skip to content

marianacapelo/github-changelog-generator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github-changelog-generator

Generate changelog files from the project's Github PRs

Usage

Generate a new Github Personal Access Token and save it to your .zshrc.local, .bashrc.local or similar:

export GITHUB_TOKEN=<your_github_personal_access_token>

To see a list of available options, run the following command:

$ github-changelog-generator --help

  Usage: github-changelog-generator [options]

  Run Github changelog generator.

  Options:

    -h, --help                       output usage information
    -o, --owner <name>               [required] owner of the repository
    -r, --repo <name>                [required] name of the repository
    -f, --future-release <version>   [optional] specify the next release version
    -t, --future-release-tag <name>  [optional] specify the next release tag name if it is different from the release version

To generate a changelog for your Github project, use the following command:

$ github-changelog-generator --owner=<repo_owner> --repo=<repo_name> --future-release=<release_name> --future-release-tag=<release_tag_name>  > <your_changelog_file>

The --future-release and --future-release-tag options are optional. If you just want to build a new changelog without a new release, you can skip those options, and github-changelog-generator will create a changelog for existing releases only. Also, if your future release tag name is the same as your future release version number, then you can skip --future-release-tag.

Example:

$ github-changelog-generator --owner=uphold --repo=github-changelog-generator --future-release=1.2.3 --future-release-tag=v1.2.3 > CHANGELOG.md

Release

npm version [<newversion> | major | minor | patch] -m "Release %s"

About

Generate changelog files from the project's GitHub PRs

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%