diff --git a/scripts/release/download-experimental-build.js b/scripts/release/download-experimental-build.js index 2de19359559aa..2bd77a67d1221 100755 --- a/scripts/release/download-experimental-build.js +++ b/scripts/release/download-experimental-build.js @@ -11,18 +11,13 @@ const { const checkEnvironmentVariables = require('./shared-commands/check-environment-variables'); const downloadBuildArtifacts = require('./shared-commands/download-build-artifacts'); -const getLatestMasterBuildNumber = require('./shared-commands/get-latest-master-build-number'); const parseParams = require('./shared-commands/parse-params'); const printSummary = require('./download-experimental-build-commands/print-summary'); const run = async () => { try { addDefaultParamValue('-r', '--releaseChannel', 'experimental'); - addDefaultParamValue( - null, - '--build', - await getLatestMasterBuildNumber(true) - ); + addDefaultParamValue(null, '--commit', 'master'); const params = await parseParams(); params.cwd = join(__dirname, '..', '..'); diff --git a/scripts/release/shared-commands/parse-params.js b/scripts/release/shared-commands/parse-params.js index 5755a8ee65879..9af398cbc852c 100644 --- a/scripts/release/shared-commands/parse-params.js +++ b/scripts/release/shared-commands/parse-params.js @@ -38,12 +38,8 @@ module.exports = async () => { const params = commandLineArgs(paramDefinitions); if (params.build !== null) { - if (params.commit !== null) { - console.error( - '`build` and `commmit` params are mutually exclusive. Choose one or the other.`' - ); - process.exit(1); - } + // TODO: Should we just remove the `build` param? Seems like `commit` is a + // sufficient replacement. } else { if (params.commit === null) { console.error('Must provide either `build` or `commit`.');