chore: use --bump for all releases

Approved by @codebytere
This commit is contained in:
Samuel Attard 2018-08-17 12:23:27 -07:00
parent 6861c10183
commit 0c0ca57f4b

View file

@ -33,10 +33,7 @@ github.authenticate({type: 'token', token: process.env.ELECTRON_GITHUB_TOKEN})
async function getNewVersion (dryRun) { async function getNewVersion (dryRun) {
console.log(`Bumping for new "${versionType}" version.`) console.log(`Bumping for new "${versionType}" version.`)
let bumpScript = path.join(__dirname, 'bump-version.py') let bumpScript = path.join(__dirname, 'bump-version.py')
let scriptArgs = [bumpScript] let scriptArgs = [bumpScript, '--bump', versionType]
if (args.bump) {
scriptArgs.push(`--bump ${versionType}`)
}
if (args.stable) { if (args.stable) {
scriptArgs.push('--stable') scriptArgs.push('--stable')
} }