From ccc9b9410384ee652a95f43adfc761a88fe1bc60 Mon Sep 17 00:00:00 2001 From: Joris de Wit Date: Sat, 7 Dec 2013 14:33:00 -0800 Subject: [PATCH] add bump --- Gruntfile.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Gruntfile.js b/Gruntfile.js index fee02bd..3324a17 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -3,6 +3,15 @@ module.exports = function(grunt) { grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), + bump: { + options: { + files: ['package.json', 'bower.json'], + updateConfigs: [], + commit: true, + commitMessage: 'Release v%VERSION%', + commitFiles: ['package.json', 'bower.json'] + } + }, jshint: { options: { curly: true, @@ -84,6 +93,7 @@ module.exports = function(grunt) { grunt.loadNpmTasks('grunt-angular-templates'); grunt.loadNpmTasks('grunt-contrib-watch'); grunt.loadNpmTasks('grunt-contrib-less'); + grunt.loadNpmTasks('grunt-bump'); grunt.registerTask('default', ['jshint', 'uglify', 'less', 'ngtemplates']); };