From 331444d103a1f20c02389806fdd23d698400bf7a Mon Sep 17 00:00:00 2001 From: Samuel Attard Date: Wed, 30 Jun 2021 18:17:59 -0700 Subject: [PATCH] build: add support for spawning builds for a specific commit on appveyor (#29971) --- 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 6fbc7d683fd1..d70948c8ffde 100644 --- a/script/release/ci-release-build.js +++ b/script/release/ci-release-build.js @@ -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' @@ -366,7 +367,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] [--arch=INDIVIDUAL_ARCH] [--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); }