From fa59e8aa0f4575faf288ec987f5f115754348d98 Mon Sep 17 00:00:00 2001 From: Gao Sun Date: Wed, 16 Nov 2022 18:20:06 +0800 Subject: [PATCH] fix: use `--follow-tags` for git push --- .scripts/publish.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.scripts/publish.js b/.scripts/publish.js index 45a7396ee..258a91efd 100644 --- a/.scripts/publish.js +++ b/.scripts/publish.js @@ -56,4 +56,4 @@ if (taggedPackages.length === 0) { } execSync('pnpm -r publish'); -execSync('git push --tags'); +execSync('git push --follow-tags');