Skip to content

Commit 8ff05b5

Browse files
lunaleapsfacebook-github-bot
authored andcommitted
Remove release-branch-cutoff from yarn bump-all-updated-packages (#43040)
Summary: Pull Request resolved: #43040 Changelog: [Internal] Remove release-branch-cutoff option as its been replaced by `yarn set-version --skip-react-native-version` Reviewed By: huntie Differential Revision: D53742450 fbshipit-source-id: 726479698ec4f4f61d9a1ddde95e246e033f864c
1 parent fdf4ec3 commit 8ff05b5

1 file changed

Lines changed: 0 additions & 25 deletions

File tree

  • scripts/monorepo/bump-all-updated-packages

scripts/monorepo/bump-all-updated-packages/index.js

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,9 @@ const {execSync} = require('child_process');
2727
const inquirer = require('inquirer');
2828
const path = require('path');
2929
const {echo, exec, exit} = require('shelljs');
30-
const yargs = require('yargs');
3130

3231
const ROOT_LOCATION = path.join(__dirname, '..', '..', '..');
3332

34-
const {
35-
argv: {releaseBranchCutoff},
36-
} = yargs
37-
.option('release-branch-cutoff', {
38-
type: 'boolean',
39-
describe: 'Should force bump minor version for each public package',
40-
})
41-
.strict();
42-
4333
const buildExecutor =
4434
(packageAbsolutePath, packageRelativePathFromRoot, packageManifest) =>
4535
async () => {
@@ -50,21 +40,6 @@ const buildExecutor =
5040
return;
5141
}
5242

53-
if (releaseBranchCutoff) {
54-
const updatedVersion = bumpPackageVersion(
55-
packageAbsolutePath,
56-
packageManifest,
57-
'minor',
58-
);
59-
echo(
60-
`\u2705 Successfully bumped ${chalk.green(
61-
packageName,
62-
)} to ${chalk.green(updatedVersion)}`,
63-
);
64-
65-
return;
66-
}
67-
6843
if (
6944
!detectPackageUnreleasedChanges(
7045
packageRelativePathFromRoot,

0 commit comments

Comments
 (0)