react-native/scripts/releases-ci
Alex Hunt 6f6aaae73e Fix RNTester Podfile.lock update in release workflow (#43513)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/43513

The previous `update_podfile_lock.sh` script would fail as executed from the repo root (could not locate RNTester dir). Delete this and replace with direct calls in `prepare-package-for-release.js`, which will fail script on error.

 {F1469216632}

Changelog: [Internal]

Reviewed By: cortinico

Differential Revision: D54949214

fbshipit-source-id: 4f032069e803e84f835c279d01332d16787dfafc
2024-03-15 10:32:07 -07:00
..
__tests__ set to public access by default 2024-02-27 09:09:50 -08:00
prepare-package-for-release.js Fix RNTester Podfile.lock update in release workflow (#43513) 2024-03-15 10:32:07 -07:00
publish-npm.js set to public access by default 2024-02-27 09:09:50 -08:00
publish-updated-packages.js Refactor remaining forEachPackage call sites (#43112) 2024-02-20 09:55:46 -08:00
README.md Rename and document monorepo publish script (#42989) 2024-02-14 02:57:36 -08:00

scripts/releases-ci

CI-only release scripts — intended to run from a CI workflow (CircleCI or GitHub Actions).

Commands

For information on command arguments, run node <command> --help.

prepare-package-for-release

Prepares files within the react-native package and template for the target release version. Writes a new commit and tag, which will trigger publish-npm.js in a new workflow.

publish-npm

Prepares release artifacts and publishes the react-native package to npm.

publish-updated-packages

Publishes all updated packages (excluding react-native) to npm. Triggered when a commit on a release branch contains #publish-packages-to-npm.