mirror of
https://github.com/facebook/react.git
synced 2026-02-26 00:05:02 +00:00
* Added missing params object to execUnlessDry call * Public package names are no longer hard-coded * Added "v" prefix to git tag * Show more accurate in-progress duration * Properly bucket-bridage params * Prettier * Publish command logs stack with error
React Release Script
At a high-level, the release script runs in 2 passes: build and publish.
- The build script does the heavy lifting (eg checking CI, running automated tests, building Rollup bundles) and then prints instructions for manual verification.
- The publish script then publishes the built artifacts to NPM and pushes to GitHub.
Run either script without parameters to see its usage, eg:
./scripts/release/build.js
./scripts/release/publish.js
Each script will guide the release engineer through any necessary steps (including environment setup and manual testing steps).