chore: use --bump for all releases
Approved by @codebytere
This commit is contained in:
parent
6861c10183
commit
0c0ca57f4b
1 changed files with 1 additions and 4 deletions
|
@ -33,10 +33,7 @@ github.authenticate({type: 'token', token: process.env.ELECTRON_GITHUB_TOKEN})
|
|||
async function getNewVersion (dryRun) {
|
||||
console.log(`Bumping for new "${versionType}" version.`)
|
||||
let bumpScript = path.join(__dirname, 'bump-version.py')
|
||||
let scriptArgs = [bumpScript]
|
||||
if (args.bump) {
|
||||
scriptArgs.push(`--bump ${versionType}`)
|
||||
}
|
||||
let scriptArgs = [bumpScript, '--bump', versionType]
|
||||
if (args.stable) {
|
||||
scriptArgs.push('--stable')
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue