grunt-gh-release
Create relases on GitHub from Grunt task.
Getting Started
This plugin requires Grunt ~0.4.1
If you havent used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you’re familiar with that process, you may install this plugin with this command:
npm install grunt-gh-release --save-dev
After that it may be enabled inside your Gruntfile with this line of JavaScript:
grunt;
The “gh_release” task
In your project’s Gruntfile.js
, add a section named gh_release
to the data object passed into grunt.initConfig()
.
grunt;
API token
Create your own personal API token for use in the options.token
. Be careful, token are like password so you should guard it carefully.
The best practice is to store token in separate gitignored-file, secret.json
for example:
…and then to read it in Gruntfile.js
like so:
grunt
Release History
0.0.1, Oct 8 2013
Initial commit.