1
0
mirror of synced 2026-03-22 10:28:36 +08:00

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