From ddb0aca677de7ca09a0b97e7f41866e20f2574d9 Mon Sep 17 00:00:00 2001 From: Josh David Miller Date: Tue, 25 Jun 2013 02:15:28 -0700 Subject: [PATCH] fix(build): Bump config is now nested in 'options' --- Gruntfile.js | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 75addacb..f8d015d3 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -65,17 +65,24 @@ module.exports = function ( grunt ) { * Increments the version number, etc. */ bump: { - files: [ 'package.json', 'bower.json' ], - updateConfigs: [ 'pkg' ], - commit: true, - commitMessage: 'chore(release): v${version}', - commitFiles: [ 'package.json', 'bower.json' ], - createTag: true, - tagName: 'v${version}', - tagMessage: 'Version ${version}', - push: true, - pushTo: 'origin' - }, + options: { + files: [ + "package.json", + "bower.json" + ], + commit: false, + commitMessage: 'chore(release): v%VERSION%', + commitFiles: [ + "package.json", + "client/bower.json" + ], + createTag: false, + tagName: 'v%VERSION%', + tagMessage: 'Version %VERSION%', + push: false, + pushTo: 'origin' + } + }, /** * The directories to delete when `grunt clean` is executed.