build: release git commit

This commit is contained in:
roymondchen 2024-05-20 14:19:13 +08:00
parent 238762dd0f
commit 22eb7453be

View File

@ -192,7 +192,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', `release: v${targetVersion}`]); await runIfNotDry('git', ['commit', '-m', `chore: release v${targetVersion}`, '--verify']);
} else { } else {
console.log('No changes to commit.'); console.log('No changes to commit.');
} }