-
Notifications
You must be signed in to change notification settings - Fork 4
fix: retry on version curl #54
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #54 +/- ##
=======================================
Coverage 97.14% 97.14%
=======================================
Files 2 2
Lines 35 35
=======================================
Hits 34 34
Misses 1 1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please run ./install.sh
locally so that it also creates the dist file
a8de9b0
to
8d487ae
Compare
scripts/download.sh
Outdated
@@ -42,11 +42,12 @@ else | |||
codecov_url="$codecov_url/${CODECOV_VERSION}" | |||
codecov_url="$codecov_url/${CODECOV_OS}/${codecov_filename}" | |||
say "$g ->$x Downloading $b${codecov_url}$x" | |||
curl -O --retry 5 --retry-delay 2 "$codecov_url" | |||
r="--retry 5 --retry-delay 2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can probably pull this into set_defaults
and use it in validate.sh
also.
I would also name it something a little longer, r
, might be used in a user's env vars already perhaps
bump @joseph-sentry |
we do retry-all-errors as an attempt to catch exit code 56 errors
we do retry-all-errors as an attempt to catch exit code 56 errors