|
@ -30,7 +30,7 @@ try { |
|
|
console.log('Added package.json to staging area.'); |
|
|
console.log('Added package.json to staging area.'); |
|
|
|
|
|
|
|
|
// 提交更改
|
|
|
// 提交更改
|
|
|
execSync(`git commit -m "Update version to ${newVersion}"`); |
|
|
|
|
|
|
|
|
execSync(`git commit -m "fix: Update version to V${newVersion}"`); |
|
|
console.log(`Committed changes with message: Update version to ${newVersion}`); |
|
|
console.log(`Committed changes with message: Update version to ${newVersion}`); |
|
|
|
|
|
|
|
|
// 推送到远程仓库
|
|
|
// 推送到远程仓库
|
|
|