diff --git a/Gruntfile.js b/Gruntfile.js index 18865ff..968e010 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -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: [ diff --git a/package.json b/package.json index a9ee7c4..1ef7c89 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "homepage": "https://github.com/caiogondim/bullet-train-oh-my-zsh-theme", "devDependencies": { "grunt": "^0.4.5", - "grunt-bump": "0.0.14", + "grunt-bump": "0.0.16", "grunt-cli": "^0.1.13", "grunt-lintspaces": "^0.6.0" }