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

Fix codecov binary download: follow links #13

Merged
merged 3 commits into from
Oct 24, 2023
Merged

Fix codecov binary download: follow links #13

merged 3 commits into from
Oct 24, 2023

Conversation

pat-s
Copy link
Contributor

@pat-s pat-s commented Oct 24, 2023

In 2.1.0 the binaries were not actually downloaded but curl also doesn't thrown an error if this happens.

@pat-s pat-s added the bug Something isn't working label Oct 24, 2023
Dockerfile Outdated Show resolved Hide resolved
RUN if [ $(arch) = "aarch64" ] ; then curl -s https://github.com/codecov/uploader/releases/download/${UPLOADER_VERSION}/codecov-aarch64 -o codecov; fi
RUN if [ $(arch) = "x86_64" ] ; then curl -s https://github.com/codecov/uploader/releases/download/${UPLOADER_VERSION}/codecov-alpine -o codecov; fi
RUN if [ $(arch) = "aarch64" ] ; then curl -sL https://github.com/codecov/uploader/releases/download/${UPLOADER_VERSION}/codecov-aarch64 -o codecov; fi
RUN if [ $(arch) = "x86_64" ] ; then curl -sL https://github.com/codecov/uploader/releases/download/${UPLOADER_VERSION}/codecov-alpine -o codecov; fi
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
RUN if [ $(arch) = "x86_64" ] ; then curl -sL https://github.com/codecov/uploader/releases/download/${UPLOADER_VERSION}/codecov-alpine -o codecov; fi
RUN if [ $(arch) = "x86_64" ] ; then curl -sLf https://github.com/codecov/uploader/releases/download/${UPLOADER_VERSION}/codecov-alpine -o codecov; fi

@pat-s
Copy link
Contributor Author

pat-s commented Oct 24, 2023

Ah nice, never looked at -f before 👍

Co-authored-by: Anbraten <anton@ju60.de>
@pat-s pat-s merged commit 25995eb into main Oct 24, 2023
@woodpecker-bot woodpecker-bot mentioned this pull request Oct 24, 2023
@woodpecker-bot
Copy link
Contributor

🎉 This PR is included in version 2.1.1 🎉

The release is now available here

Thank you for your contribution. ❤️📦🚀

@pat-s pat-s deleted the follow-links branch October 24, 2023 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants