Browse Source

chore: remove autorelease check logic (#14220)

Shelley Vohr 6 years ago
parent
commit
26925e6d48
1 changed files with 0 additions and 5 deletions
  1. 0 5
      script/prepare-release.js

+ 0 - 5
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)