chore: dont pass --stable through to bump-version.py (#14661)

I want to clean up this "stable" and "beta" code smell eventually but
for now this will unblock the 2.0.x releases.
This commit is contained in:
Samuel Attard 2018-09-18 23:32:49 +10:00 committed by GitHub
parent eeeeae3bff
commit 7f7ec23c28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,9 +36,6 @@ async function getNewVersion (dryRun) {
}
let bumpScript = path.join(__dirname, 'bump-version.py')
let scriptArgs = [bumpScript, '--bump', versionType]
if (args.stable) {
scriptArgs.push('--stable')
}
if (dryRun) {
scriptArgs.push('--dry-run')
}