Improvements to release process

1. Prompt user to verify version before version is created.
2. Fix validateRelease instructions and usage
3. Fix ci-release-build so that you don't have to pass in --ghRelease=true; just --ghRelease will work.
This commit is contained in:
John Kleinschmidt 2018-01-31 16:40:38 -07:00
parent 42fa018277
commit e924781ee5
4 changed files with 53 additions and 14 deletions

View file

@ -199,7 +199,7 @@ function runRelease (targetBranch, options) {
module.exports = runRelease
if (require.main === module) {
const args = require('minimist')(process.argv.slice(2))
const args = require('minimist')(process.argv.slice(2), { boolean: 'ghRelease' })
const targetBranch = args._[0]
if (args._.length < 1) {
console.log(`Trigger CI to build release builds of electron.