Skip to content

Commit

Permalink
feature(publish) separate "git push" to another task
Browse files Browse the repository at this point in the history
  • Loading branch information
coderaiser committed Jan 14, 2015
1 parent 37fbb47 commit 48f7594
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
'git commit -am "feature(package) v{{ version }}"',
'git tag v{{version}}',
'git push origin v{{version}}',
'git push origin master'
].join('&&'),

MSG = [ 'publish <version>',
Expand Down Expand Up @@ -99,7 +98,10 @@

callback(error);
});

},

function(callback) {
execute('git push origin master', emitter, callback);
execute('npm publish', emitter, callback);
}

Expand Down

0 comments on commit 48f7594

Please sign in to comment.