]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/commitdiff
workflow: allow empty commits when updating the snapshot before publishing
authorHaoqun Jiang <haoqunjiang@gmail.com>
Tue, 14 Jun 2022 08:05:12 +0000 (16:05 +0800)
committerHaoqun Jiang <haoqunjiang@gmail.com>
Tue, 14 Jun 2022 08:05:12 +0000 (16:05 +0800)
scripts/prepublish.mjs

index ce05372077aae12cafc8a9177b34f90c3309490d..bd97a930448f2c9c19f0ac13f01581237d8aeddc 100644 (file)
@@ -24,5 +24,5 @@ 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 commit -m 'chore: update snapshot' --allow-empty`
 await $`git push --follow-tags`