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:
parent
42fa018277
commit
e924781ee5
4 changed files with 53 additions and 14 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue