https://github.com/opentable/grunt-git-changelog-generator
Generate markdown changelog from git log messages and tags
https://github.com/opentable/grunt-git-changelog-generator
Last synced: 3 months ago
JSON representation
Generate markdown changelog from git log messages and tags
- Host: GitHub
- URL: https://github.com/opentable/grunt-git-changelog-generator
- Owner: opentable
- License: mit
- Created: 2016-04-19T14:27:19.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-04-20T10:38:39.000Z (about 9 years ago)
- Last Synced: 2025-03-18T12:04:49.375Z (3 months ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 2
- Watchers: 21
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-MIT
Awesome Lists containing this project
README
# grunt-git-changelog-generator
> Generate markdown changelogs from git log messages and tags
## Getting Started
This plugin requires Grunt `~0.4.5`If you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, Once you're familiar with that process, you may install this plugin with this command:
```shell
npm install grunt-git-changelog-generator --save-dev
```Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
```js
grunt.loadNpmTasks('grunt-git-changelog-generator');
```## The "git_changelog_generator" task
### Overview
In your project's Gruntfile, add a section named `git_changelog_generator` to the data object passed into `grunt.initConfig()`.```js
grunt.initConfig({
git_changelog_generator: {
options: {
// Task-specific options go here.
repo: 'https://github.com/opentable/grunt-git-changelog-generator',
changelog: './CHANGELOG.md'
}
},
});
```### Options
#### options.repo
Type: `String`
Default value: noneA string value that is used to do add links pointing to the specific PR related in the repo, it should be the URL of the live repo.
#### options.changelog
Type: `String`
Default value: `'./CHANGELOG.md'`A string value that is used to write the path/file with the changelog content. By default the plugin will generate and write to `./CHANGELOG.md`