react-native/scripts/releases-ci/README.md
Alex Hunt a68ae2e2cc Rename and document monorepo publish script (#42989)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/42989

Changelog: [Internal]

Reviewed By: cipolleschi

Differential Revision: D53607805

fbshipit-source-id: 8bbf82c02b54b20404de834800ae49d3fa43baee
2024-02-14 02:57:36 -08:00

687 B

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.