Skip to content

Commit

Permalink
Merge pull request #9 from jquense/patch-1
Browse files Browse the repository at this point in the history
Only push once for both the commit and tags
  • Loading branch information
AlexKVal committed Sep 13, 2015
2 parents a7bc408 + b830dea commit f3422e9
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 @@ -208,8 +208,7 @@ function release({ type, preid }) {
} else {
safeRun(`git tag -a --message="${versionAndNotes}" ${vVersion}`);
}
safeRun('git push');
safeRun('git push --tags');
safeRun('git push --follow-tags');
console.log('Tagged: '.cyan + vVersion.green);

// publish to GitHub
Expand Down

0 comments on commit f3422e9

Please sign in to comment.