mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/43035 Changelog: [Internal] - We early-exited because of poor copy-pasta and the fact that our tests don't properly emulate the behavior of mock `exit` Will try and clean this up in next diff but want to quickly fix so it unbreaks nightlies Reviewed By: yungsters Differential Revision: D53779109 fbshipit-source-id: ff56e498344fcb4851729d98625b6c7010c73795
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.