Skip to content

Commit

Permalink
fix: add scripts again
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrockhu-codecov committed Nov 11, 2024
2 parents 9c484f2 + 1d60598 commit 7556b57
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions dist/codecov.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
CC_WRAPPER_VERSION="0.0.20"
CC_WRAPPER_VERSION="0.0.21"
say() {
echo -e "$1"
}
Expand Down Expand Up @@ -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 [email protected] 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");
Expand Down

0 comments on commit 7556b57

Please sign in to comment.