Skip to content

Commit

Permalink
build: add support for spawning builds for a specific commit on appve…
Browse files Browse the repository at this point in the history
…yor (#29971) (#29973)
  • Loading branch information
MarshallOfSound committed Jul 1, 2021
1 parent 94bce49 commit a5a8b92
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion script/release/ci-release-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ async function callAppVeyor (targetBranch, job, options) {
accountName: 'electron-bot',
projectSlug: appVeyorJobs[job],
branch: targetBranch,
commitId: options.commit || undefined,
environmentVariables
}),
method: 'POST'
Expand Down Expand Up @@ -365,7 +366,7 @@ if (require.main === module) {
if (args._.length < 1) {
console.log(`Trigger CI to build release builds of electron.
Usage: ci-release-build.js [--job=CI_JOB_NAME] [--ci=CircleCI|AppVeyor|VSTS|DevOps]
[--ghRelease] [--armTest] [--circleBuildNum=xxx] [--appveyorJobId=xxx] TARGET_BRANCH
[--ghRelease] [--armTest] [--circleBuildNum=xxx] [--appveyorJobId=xxx] [--commit=sha] TARGET_BRANCH
`);
process.exit(0);
}
Expand Down

0 comments on commit a5a8b92

Please sign in to comment.