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) (#29982)

Co-authored-by: Samuel Attard <sam@electronjs.org>
  • Loading branch information
trop[bot] and MarshallOfSound committed Jul 1, 2021
1 parent 574bd21 commit 545aba8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion script/release/ci-release-build.js
Expand Up @@ -229,6 +229,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 @@ -364,7 +365,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 545aba8

Please sign in to comment.