react/scripts/devtools
Xin Chen d9e0485c84
Bypass packages that are already published when confirmed by users (#26141)
## Summary

I ran into some two factor certification issue and had to resume the
publish script. However, this time if I confirmed the published package,
it will still try to publish the same version and fail. This is not
expected, and it blocks me from publishing the rest of the packages.

## How did you test this change?

I re-run the publish script after the change and successfully publish
the rest of the packages.

```
? Have you run the build-and-test script? Yes

✓ Checking NPM permissions for ryancat. 881 ms

? Please provide an NPM two-factor auth token: 278924


react-devtools version 4.27.2 has already been published.

? Is this expected (will skip react-devtools@4.27.2)? Yes


react-devtools-core version 4.27.2 has already been published.

? Is this expected (will skip react-devtools-core@4.27.2)? Yes

✓ Publishing package react-devtools-inline 23.1 secs

You are now ready to publish the extension to Chrome, Edge, and Firefox:
  https://fburl.com/publish-react-devtools-extensions

When publishing to Firefox, remember the following:
  Build id: 625690
  Git archive: ******
```
2023-02-10 11:28:31 -05:00
..
.gitignore DevTools release script updates: (#22170) 2021-08-24 18:59:34 -04:00
README.md DevTools release script updates: (#22170) 2021-08-24 18:59:34 -04:00
build-and-test.js Release script prompts to stop running DEV scripts (#24154) 2022-03-24 19:33:59 -04:00
configuration.js Renamed packages/react-devtools-scheduling-profiler to packages/react-devtools-timeline (#22691) 2021-11-04 10:02:06 -04:00
package.json Automated DevTools release process (#22161) 2021-08-24 14:05:50 -04:00
prepare-release.js [DevTools][BE] Read username using gh in release script (#25270) 2022-09-15 18:12:46 -07:00
publish-release.js Bypass packages that are already published when confirmed by users (#26141) 2023-02-10 11:28:31 -05:00
utils.js DevTools release script updates: (#22170) 2021-08-24 18:59:34 -04:00
yarn.lock React DevTools 4.19.2 -> 4.20.2 (#22569) 2021-10-15 12:50:17 -04:00

README.md

Releasing DevTools

To release DevTools, do the following steps (in order):

  1. Prepare a release
  2. Build and test a release
  3. Publish a release

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.