Skip to content

Set default release channel for download-experimental-build script#20663

Merged
bvaughn merged 1 commit intofacebook:masterfrom
bvaughn:download-experimental-build
Jan 26, 2021
Merged

Set default release channel for download-experimental-build script#20663
bvaughn merged 1 commit intofacebook:masterfrom
bvaughn:download-experimental-build

Conversation

@bvaughn
Copy link
Copy Markdown
Contributor

@bvaughn bvaughn commented Jan 26, 2021

Recent changes to the build scripts made this a required param, but it didn't make sense for the download-experimental-build script (used when building DevTools) to ever download anything but an experimental release, so I added a default value for that param.

Before

Screen Shot 2021-01-26 at 9 29 39 AM

After

Screen Shot 2021-01-26 at 9 30 30 AM

@facebook-github-bot facebook-github-bot added CLA Signed React Core Team Opened by a member of the React Core Team labels Jan 26, 2021
@bvaughn
Copy link
Copy Markdown
Contributor Author

bvaughn commented Jan 26, 2021

I tried to use the defaultOption flag provided by command-line-args for this (just adding it conditionally before calling command-line-args) but it seems to only support boolean values. 🤷‍♂️ This is fine.

@codesandbox-ci
Copy link
Copy Markdown

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit f117fc4:

Sandbox Source
React Configuration

@sizebot
Copy link
Copy Markdown

sizebot commented Jan 26, 2021

No significant bundle size changes to report.

Size changes (stable)

Generated by 🚫 dangerJS against f117fc4

@sizebot
Copy link
Copy Markdown

sizebot commented Jan 26, 2021

No significant bundle size changes to report.

Size changes (experimental)

Generated by 🚫 dangerJS against f117fc4

@bvaughn bvaughn merged commit db5945e into facebook:master Jan 26, 2021
@bvaughn bvaughn deleted the download-experimental-build branch January 26, 2021 20:17
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.

4 participants