Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated release scripts to work around GitHub / Circle CI integration problems #21434

Conversation

bvaughn
Copy link
Contributor

@bvaughn bvaughn commented May 5, 2021

The GitHub/CircleCI issue is blocking the DevTools release 😦

This updates the release scripts so they can accept a --build parameter in addition to a --commit parameter.

So before we would run either:

scripts/release/download-experimental-build.js # defaults to latest in master

We can still do that now, explicitly:

scripts/release/download-experimental-build.js --commit=master

But we can also do:

scripts/release/download-experimental-build.js --build=<number>

Here's it working even with a revision that GitHub/CircleCI are out of sync on:
Script demo

@facebook-github-bot facebook-github-bot added CLA Signed React Core Team Opened by a member of the React Core Team labels May 5, 2021
const message = theme`
{caution An experimental build has been downloaded!}

You can download this build again by running:
{path ${commandPath}} --commit={commit ${commit}}
{path ${commandPath}} --build={build ${build}}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No sense for e.g. Firefox reviewer to have to re-run the commit-to-build check when we already have the build ID.

@bvaughn bvaughn force-pushed the update-release-script-to-add-status-workaround branch from 8f2812a to 93782cf Compare May 5, 2021 14:42
@sizebot
Copy link

sizebot commented May 5, 2021

Comparing: 014edf1...93782cf

Critical size changes

Includes critical production bundles, as well as any change greater than 2%:

Name +/- Base Current +/- gzip Base gzip Current gzip
oss-stable/react-dom/cjs/react-dom.production.min.js = 122.76 kB 122.76 kB = 39.42 kB 39.42 kB
oss-experimental/react-dom/cjs/react-dom.production.min.js = 129.29 kB 129.29 kB = 41.50 kB 41.50 kB
facebook-www/ReactDOM-prod.classic.js = 407.18 kB 407.18 kB = 75.34 kB 75.34 kB
facebook-www/ReactDOM-prod.modern.js = 395.01 kB 395.01 kB = 73.41 kB 73.41 kB
facebook-www/ReactDOMForked-prod.classic.js = 407.18 kB 407.18 kB = 75.34 kB 75.34 kB

Significant size changes

Includes any change greater than 0.2%:

(No significant changes)

Generated by 🚫 dangerJS against 93782cf

@bvaughn
Copy link
Contributor Author

bvaughn commented May 7, 2021

I'm going to merge this b'c it's blocking another DevTools release.

@bvaughn bvaughn merged commit e468072 into facebook:master May 7, 2021
@bvaughn bvaughn deleted the update-release-script-to-add-status-workaround branch May 7, 2021 12:53
koto pushed a commit to koto/react that referenced this pull request Jun 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed React Core Team Opened by a member of the React Core Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants