Update bump.js

This commit is contained in:
extremeheat
2025-08-17 18:11:14 -04:00
committed by GitHub
parent 583b77c500
commit 266b319e35
+2
View File
@@ -11,6 +11,8 @@ module.exports = async ([newVersion], helpers) => {
bump(newVersion) bump(newVersion)
try { exec('git branch -D bump') } catch (e) { console.log('No existing branch to delete; ok.') } try { exec('git branch -D bump') } catch (e) { console.log('No existing branch to delete; ok.') }
exec('git checkout -b bump') exec('git checkout -b bump')
exec('git config user.name "github-actions[bot]"')
exec('git config user.email "41898282+github-actions[bot]@users.noreply.github.com"')
exec('git add mc/' + newVersion) exec('git add mc/' + newVersion)
exec('git commit -m "Add version ' + newVersion + '"') exec('git commit -m "Add version ' + newVersion + '"')
exec('git push origin bump --force') exec('git push origin bump --force')