From 26925e6d48068cfcfa412c0cb65b6f0e1686e6d3 Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Mon, 20 Aug 2018 10:55:38 -0700 Subject: [PATCH] chore: remove autorelease check logic (#14220) --- script/prepare-release.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/script/prepare-release.js b/script/prepare-release.js index ac494958e1d9..72a28b719bf1 100755 --- a/script/prepare-release.js +++ b/script/prepare-release.js @@ -258,11 +258,6 @@ async function changesToRelease () { } async function prepareRelease (isBeta, notesOnly) { - if (args.automaticRelease && (pkg.version.indexOf('beta') === -1 || - versionType !== 'beta') && versionType !== 'nightly' && versionType !== 'stable') { - console.log(`${fail} Automatic release is only supported for beta and nightly releases`) - process.exit(1) - } if (args.dryRun) { let newVersion = await getNewVersion(true) console.log(newVersion)