mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
27630d3106
Summary: The `--otp` flag is completely unused now, therefore it can be removed. We don't pass the `NPM_CONFIG_OTP` env variable either as this was done back in the days of CircleCI so I'm cleaning this up. ## Changelog: [INTERNAL] - Remove unused --otp property from release infrastructure Pull Request resolved: https://github.com/facebook/react-native/pull/53779 Test Plan: CI Reviewed By: lunaleaps Differential Revision: D82453539 Pulled By: cortinico fbshipit-source-id: 84a6b82a037c754165c21e17976dc534d9a7ba4c
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.