From 1fc49eb27baf338e00f5bcb741b4018475148d9f Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Fri, 28 Jan 2022 16:24:04 +0800 Subject: [PATCH] chore: should also push tags before publishing --- scripts/prepublish.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/prepublish.mjs b/scripts/prepublish.mjs index 5339ef32..ce053720 100644 --- a/scripts/prepublish.mjs +++ b/scripts/prepublish.mjs @@ -25,4 +25,4 @@ const projectRoot = path.resolve(__dirname, '../') cd(projectRoot) await $`git add playground` await $`git commit -m 'chore: update snapshot'` -await $`git push` +await $`git push --follow-tags` -- 2.39.5