2017-10-17 06:01:14 +08:00
# React Release Script
2017-10-17 06:02:41 +08:00
At a high-level, the release script runs in 2 passes: **build** and **publish** .
2017-10-17 06:01:14 +08:00
1. The **build** script does the heavy lifting (eg checking CI, running automated tests, building Rollup bundles) and then prints instructions for manual verification.
2017-10-17 06:02:41 +08:00
1. The **publish** script then publishes the built artifacts to NPM and pushes to GitHub.
2017-10-17 06:01:14 +08:00
2017-10-17 06:02:41 +08:00
Run either script without parameters to see its usage, eg:
2017-10-17 06:01:14 +08:00
```
./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).