chore: 发布时条件git加上no-verify
This commit is contained in:
@@ -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.');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user