]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/commitdiff
chore: automatically update the playground submodule pointer
authorHaoqun Jiang <haoqunjiang@gmail.com>
Wed, 19 Jan 2022 08:55:56 +0000 (16:55 +0800)
committerHaoqun Jiang <haoqunjiang@gmail.com>
Wed, 19 Jan 2022 08:55:56 +0000 (16:55 +0800)
scripts/prepublish.mjs

index e3a31dccc2d547a7b9fc57d77727d976cfa79844..5339ef321649f8743bac21fcbe40b4578415fd9c 100644 (file)
@@ -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`