chore: remove autorelease check logic (#14220)

This commit is contained in:
Shelley Vohr 2018-08-20 10:55:38 -07:00 committed by Samuel Attard
parent 14ee5b3d3a
commit 26925e6d48

View file

@ -258,11 +258,6 @@ async function changesToRelease () {
} }
async function prepareRelease (isBeta, notesOnly) { 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) { if (args.dryRun) {
let newVersion = await getNewVersion(true) let newVersion = await getNewVersion(true)
console.log(newVersion) console.log(newVersion)