Skip to content

Commit

Permalink
[changed] Only push once for both the commit and tags
Browse files Browse the repository at this point in the history
this commit is for the `bower` branch.

Idea belongs to @jquense
[b830dea](../../commit/b830dea)
  • Loading branch information
AlexKVal committed Sep 13, 2015
1 parent f3422e9 commit 12b8af8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,7 @@ function release({ type, preid }) {
safeRun('git add -A .');
safeRun(`git commit -m "Release ${vVersion}"`);
safeRun(`git tag -a --message=${vVersion} ${vVersion}`);
safeRun('git push');
safeRun('git push --tags');
safeRun('git push --follow-tags');
popd();
if (argv.dryRun) {
console.log(`[rm -rf ${tmpBowerRepo}]`.grey, 'DRY RUN'.magenta);
Expand Down

0 comments on commit 12b8af8

Please sign in to comment.