chore: remove autorelease check logic (#14222)

This commit is contained in:
trop[bot] 2018-08-20 10:57:01 -07:00 committed by Shelley Vohr
parent 5d17e48490
commit de7cb9524a

View file

@ -260,11 +260,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)