Adds grunt bump

This commit is contained in:
Caio Gondim
2014-12-01 18:23:53 +01:00
parent cb8f7065ef
commit 25f363c0ea
2 changed files with 19 additions and 1 deletions

View File

@@ -2,9 +2,27 @@ module.exports = function(grunt) {
"use strict";
grunt.loadNpmTasks('grunt-lintspaces');
grunt.loadNpmTasks('grunt-bump');
var config = {};
config.bump = {
options: {
files: ['package.json'],
updateConfigs: [],
commit: true,
commitMessage: 'Release v%VERSION%',
commitFiles: ['package.json'],
createTag: true,
tagName: 'v%VERSION%',
tagMessage: 'Version %VERSION%',
push: true,
pushTo: 'origin',
gitDescribeOptions: '--tags --always --abbrev=1 --dirty=-d',
globalReplace: false
}
};
config.lintspaces = {
rest: {
src: [