Skip to content

Commit 12b8af8

Browse files
committed
[changed] Only push once for both the commit and tags
this commit is for the `bower` branch. Idea belongs to @jquense [b830dea](../../commit/b830dea)
1 parent f3422e9 commit 12b8af8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/release.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,7 @@ function release({ type, preid }) {
273273
safeRun('git add -A .');
274274
safeRun(`git commit -m "Release ${vVersion}"`);
275275
safeRun(`git tag -a --message=${vVersion} ${vVersion}`);
276-
safeRun('git push');
277-
safeRun('git push --tags');
276+
safeRun('git push --follow-tags');
278277
popd();
279278
if (argv.dryRun) {
280279
console.log(`[rm -rf ${tmpBowerRepo}]`.grey, 'DRY RUN'.magenta);

0 commit comments

Comments
 (0)