react/scripts/release
Brian Vaughn af08b5cbca
Release script follow-up work after 16.1.0-beta release (#11437)
* Build script creates git tag

* Build script post instructions print better relative paths

* Pre-release (<1.0) version numbers also include pre-release suffix (eg '-beta.0')

* Post-NPM-publish step properly handles minor rev comparison check

* Release script also updates @next tag when publishing @latest

* Fixed a typo. Improved inline comment.
2017-11-03 13:19:32 -07:00
..
build-commands Release script follow-up work after 16.1.0-beta release (#11437) 2017-11-03 13:19:32 -07:00
publish-commands Release script follow-up work after 16.1.0-beta release (#11437) 2017-11-03 13:19:32 -07:00
README.md Tweaked wording of release script README 2017-10-16 15:02:41 -07:00
build.js Release script follow-up work after 16.1.0-beta release (#11437) 2017-11-03 13:19:32 -07:00
config.js Use Yarn Workspaces (#11252) 2017-10-19 00:22:21 +01:00
package.json Release script (#11223) 2017-10-16 15:01:14 -07:00
publish.js Release script (#11223) 2017-10-16 15:01:14 -07:00
utils.js Release script (#11223) 2017-10-16 15:01:14 -07:00
yarn.lock Release script (#11223) 2017-10-16 15:01:14 -07:00

README.md

React Release Script

At a high-level, the release script runs in 2 passes: build and publish.

  1. The build script does the heavy lifting (eg checking CI, running automated tests, building Rollup bundles) and then prints instructions for manual verification.
  2. 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).