From: Haoqun Jiang Date: Tue, 14 Jun 2022 08:05:12 +0000 (+0800) Subject: workflow: allow empty commits when updating the snapshot before publishing X-Git-Tag: v3.2.2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1fb74eba3bd315ff1e07649f52b4074bfed77bbe;p=thirdparty%2Fvuejs%2Fcreate-vue.git workflow: allow empty commits when updating the snapshot before publishing --- diff --git a/scripts/prepublish.mjs b/scripts/prepublish.mjs index ce053720..bd97a930 100644 --- a/scripts/prepublish.mjs +++ b/scripts/prepublish.mjs @@ -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`