From: Haoqun Jiang Date: Wed, 19 Jan 2022 08:55:56 +0000 (+0800) Subject: chore: automatically update the playground submodule pointer X-Git-Tag: v3.1.1~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f99eb7eb90e5ed5211812752c4e15497d8893e19;p=thirdparty%2Fvuejs%2Fcreate-vue.git chore: automatically update the playground submodule pointer --- diff --git a/scripts/prepublish.mjs b/scripts/prepublish.mjs index e3a31dcc..5339ef32 100644 --- a/scripts/prepublish.mjs +++ b/scripts/prepublish.mjs @@ -20,3 +20,9 @@ try { await $`git tag -m "v${version}" v${version}` await $`git push --follow-tags` + +const projectRoot = path.resolve(__dirname, '../') +cd(projectRoot) +await $`git add playground` +await $`git commit -m 'chore: update snapshot'` +await $`git push`