Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49666 This change moves the index.js file to the `releases` folder, giving it a meaningful name. It also rename the prebuild folder to ios-prebuild to be more descriptive. It finally removes the old scripts that this refactoring supersedes. bypass-github-export-checks ## Changelog: [INTERNAL] - Move the infdex.js to the prepare-ios-prebuilds script. Reviewed By: cortinico Differential Revision: D70176043 fbshipit-source-id: e0c3f3bd53adf97fa388c37a746d274fd678f690
scripts/releases
Scripts related to creating a React Native release. These are the lower level entry points used by scripts/releases-ci.
Commands
For information on command arguments, run node <command> --help.
create-release-commit
Creates a release commit to trigger a new release.
set-version
Bump the version of all packages.
- Updates
package.jsonmetadata for all workspaces and the project root. - Updates relevant native files in the
react-nativepackage.
If --skipReactNativeVersion is passed, the react-native package version will be left unmodified as "1000.0.0" (special static version on main), and native files will not be touched.
set-rn-artifacts-version
Note
Deprecated: Prefer
set-version. This entry point is a subset ofset-version, and is used only by test workflows. We will replace these call sites in future.
Updates relevant native files in the react-native package to materialize the given release version. This is run by set-version unless --skipReactNativeVersion is passed.