mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/45468 This should greatly reduce the time spent on build_npm_package because we're moving all the publishing logic to build_android. I need to do a bit more testing with nightlies to make sure that everything is published correctly. Changelog: [Internal] [Changed] - Make build_android publish to the stating repositories Reviewed By: cipolleschi Differential Revision: D59804015 fbshipit-source-id: be3f0b6e16f5fdbf760ec7a5e16c8e258e06dd28
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.