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); }