]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/commitdiff
chore: explicit target branch in push command to avoid submodule issues [skip ci]
authorHaoqun Jiang <github@haoqun.me>
Thu, 22 Jan 2026 09:27:48 +0000 (18:27 +0900)
committerHaoqun Jiang <github@haoqun.me>
Thu, 22 Jan 2026 09:29:53 +0000 (18:29 +0900)
scripts/postversion.mjs

index 3e09967969945cc1a45c247e31af27f42574657f..75d95ff22177abc64843fdea35e5a13878963f92 100644 (file)
@@ -23,7 +23,7 @@ try {
 }
 
 await $`git tag -m "v${version}" v${version}`
-await $`git push --follow-tags`
+await $`git push origin HEAD:main --follow-tags`
 
 const projectRoot = path.resolve(__dirname, '../')
 cd(projectRoot)