]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/commitdiff
chore: should also push tags before publishing
authorHaoqun Jiang <haoqunjiang@gmail.com>
Fri, 28 Jan 2022 08:24:04 +0000 (16:24 +0800)
committerHaoqun Jiang <haoqunjiang@gmail.com>
Fri, 28 Jan 2022 08:24:04 +0000 (16:24 +0800)
scripts/prepublish.mjs

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