Update bump.js
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user