Skip to content

Commit

Permalink
another try at getting bump to work?
Browse files Browse the repository at this point in the history
  • Loading branch information
joeybaker committed Feb 15, 2014
1 parent 2d71a60 commit 7f831b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ module.exports = function(grunt){
})

grunt.registerTask('publish', 'create a tag and publish to npm', function(){
var bump = (grunt.option('bump') || 'patch')
var bump = (grunt.option('bump') || grunt.option('level') || 'patch')
grunt.option('level', bump)
grunt.log.writeln(('Publishing a ' + bump + ' version').yellow)

Expand Down

0 comments on commit 7f831b3

Please sign in to comment.