diff --git a/dist/codecov.sh b/dist/codecov.sh index 8226472..53894c7 100755 --- a/dist/codecov.sh +++ b/dist/codecov.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -CC_WRAPPER_VERSION="0.0.20" +CC_WRAPPER_VERSION="0.0.21" say() { echo -e "$1" } @@ -96,11 +96,11 @@ CC_PUBLIC_PGP_KEY=$(curl https://keybase.io/codecovsecurity/pgp_keys.asc) say "$g ->$x Downloading $b${sha_url}$x" say "$g ->$x Downloading $b${sha_url}.sig$x" say " " - curl -Os "$sha_url" - curl -Os "${sha_url}.sig" + curl -Os --retry 5 --retry-delay 2 --connect-timeout 2 "$sha_url" + curl -Os --retry 5 --retry-delay 2 --connect-timeout 2 "${sha_url}.sig" if ! gpg --verify "${cc_filename}.SHA256SUM.sig" "${cc_filename}.SHA256SUM"; then - exit_if_error "Could not verify SHASUM. Please contact security@codecov.io if problem continues" + exit_if_error "Could not verify signature. Please contact Codecov if problem continues" fi if ! (shasum -a 256 -c "${cc_filename}.SHA256SUM" || \ sha256sum -c "${cc_filename}.SHA256SUM"); diff --git a/src/scripts b/src/scripts index 88c6239..4c4c177 160000 --- a/src/scripts +++ b/src/scripts @@ -1 +1 @@ -Subproject commit 88c6239a26f0033d4657d91840151f4139cd2d13 +Subproject commit 4c4c177b3885a70ab6f7d284e3874690e217633f