mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
Discovered yesterday while was publishing a new release. NPM `10.x.x` changed the text for 404 errors, so this check was failing. Instead of handling 404 as a signal, I think its better to just parse the whole list of versions and check if the new one is already there.
Releasing DevTools
To release DevTools, do the following steps (in order):
Each of the scripts can be run with a --dry flag to test without committing or publishing any changes.
Prepare a release
To increment version numbers and update the CHANGELOG, run the prepare-release script:
./prepare-release.js
You'll need to follow the instructions at the end of the script to push the committed changes to the main fork on GitHub.
Build and test a release
To build and test a release, run the build-and-test script:
./build-and-test.js
Publish a release
To publish a release to NPM, run the publish-release script:
./publish-release.js
You'll need to follow the instructions at the end of the script to upload the extension to Chrome, Edge, and Firefox stores.