Skip to content

Commit

Permalink
Minor clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
timmywil committed Jul 10, 2013
1 parent e57fc4e commit 41e1e56
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Gruntfile.js
Expand Up @@ -148,14 +148,12 @@ module.exports = function( grunt ) {

// Commit and tag the specified version
grunt.registerTask( "tag", function( version ) {
var done = this.async();
exec( "git tag " + version, done );
exec( "git tag " + version, this.async() );
});

grunt.registerTask( "commit", function( message ) {
var done = this.async();
// Always add dist directory
exec( "git add dist && git commit -m " + message + "", done );
exec( "git add dist && git commit -m " + message, this.async() );
});

// Commit a new version
Expand Down

0 comments on commit 41e1e56

Please sign in to comment.