Node module that generates release notes based on commit messages or closed issues between tags. It also can create a full changelog or add the latest release notes to the existing changelog file.
If you want to include it in a task, you can use grunt-github-release-notes
Install github-release-notes
via npm:
npm install github-release-notes -g
First generate a github token
at this link. You only need "repo" scope.
Then add this to ~/.bash_profile
or ~/.zshrc
):
export GREN_GITHUB_TOKEN=your_token_here
# Navigate to your project directory
cd ~/Path/to/repo
# Run the task
gren
Otherwise, you can run it anywhere passing the repo information:
gren --username=[username] --repo=[repo name]
To use a specific token you can specify it as option:
gren --token=[your token]
Gren has two main usages: release
and changelog
.
You can select the action with the --action
option.