From: Haoqun Jiang Date: Fri, 28 Jan 2022 08:24:04 +0000 (+0800) Subject: chore: should also push tags before publishing X-Git-Tag: v3.1.2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1fc49eb27baf338e00f5bcb741b4018475148d9f;p=thirdparty%2Fvuejs%2Fcreate-vue.git chore: should also push tags before publishing --- 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`