diff --git a/scripts/monorepo/bump-all-updated-packages/index.js b/scripts/monorepo/bump-all-updated-packages/index.js index 8ba2b1d4861..8424a8d5aaa 100644 --- a/scripts/monorepo/bump-all-updated-packages/index.js +++ b/scripts/monorepo/bump-all-updated-packages/index.js @@ -27,19 +27,9 @@ const {execSync} = require('child_process'); const inquirer = require('inquirer'); const path = require('path'); const {echo, exec, exit} = require('shelljs'); -const yargs = require('yargs'); const ROOT_LOCATION = path.join(__dirname, '..', '..', '..'); -const { - argv: {releaseBranchCutoff}, -} = yargs - .option('release-branch-cutoff', { - type: 'boolean', - describe: 'Should force bump minor version for each public package', - }) - .strict(); - const buildExecutor = (packageAbsolutePath, packageRelativePathFromRoot, packageManifest) => async () => { @@ -50,21 +40,6 @@ const buildExecutor = return; } - if (releaseBranchCutoff) { - const updatedVersion = bumpPackageVersion( - packageAbsolutePath, - packageManifest, - 'minor', - ); - echo( - `\u2705 Successfully bumped ${chalk.green( - packageName, - )} to ${chalk.green(updatedVersion)}`, - ); - - return; - } - if ( !detectPackageUnreleasedChanges( packageRelativePathFromRoot,