From dcfa47c354ba446e09c82278d3aa2cb67d606cfe Mon Sep 17 00:00:00 2001 From: Joshua Chaitin-Pollak Date: Fri, 22 Jul 2022 06:01:54 -0400 Subject: [PATCH] fix(createReleaseTag): only push the tag being created right now (#39) --- src/commands/publish.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/publish.ts b/src/commands/publish.ts index d044764..5cb64d9 100644 --- a/src/commands/publish.ts +++ b/src/commands/publish.ts @@ -312,7 +312,7 @@ export class Publish extends Command { const tagResult = await until(async () => { const tag = await createTag(nextTag) - await execAsync('git push --tags') + await execAsync(`git push origin ${tag}`) return tag })