Skip to content

Commit

Permalink
Added grunt bump
Browse files Browse the repository at this point in the history
  • Loading branch information
aydrian committed May 12, 2015
1 parent 75a9696 commit 5e60048
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,22 @@ module.exports = function(grunt) {
}
},

bump: {
options: {
files: [ 'package.json' ]
, updateConfigs: [ 'pkg' ]
, commit: true
, commitMessage: 'Release %VERSION%'
, commitFiles: [ 'package.json', 'README.md' ]
, createTag: true
, tagName: '%VERSION%'
, tagMessage: '%VERSION%'
, push: true
, pushTo: 'upstream'
, gitDescribeOptions: '--tags --always --abbrev=1 --dirty=-d'
}
},

shell: {
test: {
command : '<%= config.binPath %>/istanbul cover --report lcov --dir test/reports/ <%= config.binPath %>/_mocha test/spec -- --reporter ' + reporter,
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"devDependencies": {
"chai": "1.9.1",
"grunt": "0.4.5",
"grunt-bump": "^0.3.1",
"grunt-contrib-jshint": "0.10.0",
"grunt-shell": "1.1.1",
"istanbul": "0.3.2",
Expand Down

0 comments on commit 5e60048

Please sign in to comment.