From 545aba8e16bdb3baf03a8e397c3ebc948014d1ba Mon Sep 17 00:00:00 2001 From: "trop[bot]" <37223003+trop[bot]@users.noreply.github.com> Date: Thu, 1 Jul 2021 10:53:24 -0700 Subject: [PATCH] build: add support for spawning builds for a specific commit on appveyor (#29971) (#29982) Co-authored-by: Samuel Attard --- script/release/ci-release-build.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/release/ci-release-build.js b/script/release/ci-release-build.js index 384daf6615ca3..5aac1dd8dccb9 100644 --- a/script/release/ci-release-build.js +++ b/script/release/ci-release-build.js @@ -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' @@ -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); }