mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Summary:
This is a port back in main of the commit a0e40ec09f we landed in the 0.83-stable branch to fix the release process of React Native.
## Changelog:
[Internal] -
Pull Request resolved: https://github.com/facebook/react-native/pull/54495
Test Plan: GHA + tested while doing the release
Reviewed By: huntie
Differential Revision: D86766812
Pulled By: cipolleschi
fbshipit-source-id: 0e5664b3ceed32fd05fdfe3fca1bffead9d3eae1
scripts/releases-ci
CI-only release scripts — intended to run from a CI workflow (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.