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

[Release] Follow redirect when downloading tarball #18845

Merged
merged 1 commit into from
May 6, 2020

Conversation

acdlite
Copy link
Collaborator

@acdlite acdlite commented May 6, 2020

Adds -L option to curl command.

See: https://curl.haxx.se/docs/manpage.html#-L

@acdlite acdlite requested a review from bvaughn May 6, 2020 16:33
@facebook-github-bot facebook-github-bot added CLA Signed React Core Team Opened by a member of the React Core Team labels May 6, 2020
@codesandbox-ci
Copy link

codesandbox-ci bot commented May 6, 2020

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 d615905:

Sandbox Source
floral-bush-dc9wr Configuration

@@ -30,7 +30,9 @@ const run = async ({build, cwd}) => {

// Download and extract artifact
await exec(`rm -rf ./build/node_modules*`, {cwd});
await exec(`curl ${nodeModulesURL} --output ./build/node_modules.tgz`, {cwd});
await exec(`curl -L ${nodeModulesURL} --output ./build/node_modules.tgz`, {
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice.

Should we also add here while we're at it?

// Download packages from NPM and extract them to the expected build locations.
await exec(`curl ${url} > ${filePath}`, {cwd});

@sizebot
Copy link

sizebot commented May 6, 2020

No significant bundle size changes to report.

Size changes (experimental)

Generated by 🚫 dangerJS against d615905

@sizebot
Copy link

sizebot commented May 6, 2020

No significant bundle size changes to report.

Size changes (stable)

Generated by 🚫 dangerJS against d615905

@acdlite acdlite merged commit a71aa80 into facebook:master May 6, 2020
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.

None yet

4 participants