Skip to content

Commit

Permalink
chore: remove autorelease check logic (#14221)
Browse files Browse the repository at this point in the history
  • Loading branch information
trop[bot] authored and codebytere committed Aug 20, 2018
1 parent f1b197a commit 3af5fdb
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions script/prepare-release.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3af5fdb

Please sign in to comment.