diff --git a/.github/commands/bump.js b/.github/commands/bump.js index 08db80c..8e19ce3 100644 --- a/.github/commands/bump.js +++ b/.github/commands/bump.js @@ -11,6 +11,8 @@ module.exports = async ([newVersion], helpers) => { bump(newVersion) try { exec('git branch -D bump') } catch (e) { console.log('No existing branch to delete; ok.') } 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 commit -m "Add version ' + newVersion + '"') exec('git push origin bump --force')