From d409f6d19d1fb268c50d26b1d0e11ad50b351313 Mon Sep 17 00:00:00 2001 From: extremeheat Date: Sun, 17 Aug 2025 18:05:45 -0400 Subject: [PATCH] Update bump.js --- .github/commands/bump.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/commands/bump.js b/.github/commands/bump.js index ace0d44..f45b9e9 100644 --- a/.github/commands/bump.js +++ b/.github/commands/bump.js @@ -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 + '"')