chore: 发布时条件git加上no-verify

This commit is contained in:
roymondchen 2024-03-13 16:40:52 +08:00
parent 8c9018407a
commit d9b95563b5

View File

@ -105,7 +105,7 @@ async function main() {
if (stdout) { if (stdout) {
step('\nCommitting changes...'); step('\nCommitting changes...');
await runIfNotDry('git', ['add', '-A']); await runIfNotDry('git', ['add', '-A']);
await runIfNotDry('git', ['commit', '-m', `chore: release v${targetVersion}`]); await runIfNotDry('git', ['commit', '-m', `chore: release v${targetVersion}`, '--no-verify']);
} else { } else {
console.log('No changes to commit.'); console.log('No changes to commit.');
} }