react-native/scripts/releases-ci
Nicola Corti 773a02ad5d Fix wrong command for publishing of external-artifacts (#46417)
Summary:
This is a pick on main of a fix necessary to release 0.76.x

## Changelog:

[INTERNAL] - Fix wrong command for publishing of external-artifacts

Pull Request resolved: https://github.com/facebook/react-native/pull/46417

Test Plan: CI

Reviewed By: cipolleschi

Differential Revision: D62440193

Pulled By: cortinico

fbshipit-source-id: 57ea0736c1b6e3e60b048a46770356901de74024
2024-09-10 07:11:42 -07:00
..
__tests__ Fix warning on scripts/releases-ci/__tests__/publish-updated-packages-test.js (#45643) 2024-07-24 12:41:00 -07:00
publish-npm.js Fix wrong command for publishing of external-artifacts (#46417) 2024-09-10 07:11:42 -07:00
publish-updated-packages.js fix: Remove setting of process.exitCode that breaks Jest tests (#45562) 2024-07-22 03:37:08 -07:00
README.md Rename and document monorepo publish script (#42989) 2024-02-14 02:57:36 -08:00

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.