Update bump.js

This commit is contained in:
extremeheat
2025-08-17 18:05:45 -04:00
committed by GitHub
parent be0b9fbb84
commit d409f6d19d
+1 -2
View File
@@ -9,8 +9,7 @@ const exec = (a, o) => {
module.exports = async ([newVersion], helpers) => {
try {
bump(newVersion)
// Delete any existing branch named 'bump'
exec('git branch -D bump')
try { exec('git branch -D bump') } catch () { console.log('No existing branch to delete; ok.') }
exec('git checkout -b bump')
exec('git add mc/' + newVersion)
exec('git commit -m "Add version ' + newVersion + '"')