Update bump.js

This commit is contained in:
extremeheat
2025-08-17 18:08:19 -04:00
committed by GitHub
parent d409f6d19d
commit 583b77c500
+1 -1
View File
@@ -9,7 +9,7 @@ const exec = (a, o) => {
module.exports = async ([newVersion], helpers) => { module.exports = async ([newVersion], helpers) => {
try { try {
bump(newVersion) bump(newVersion)
try { exec('git branch -D bump') } catch () { 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 add mc/' + newVersion) exec('git add mc/' + newVersion)
exec('git commit -m "Add version ' + newVersion + '"') exec('git commit -m "Add version ' + newVersion + '"')