fix: add scripts again

This commit is contained in:
Tom Hu 2024-11-11 10:37:07 -05:00
commit 7556b57ca3
No known key found for this signature in database
GPG key ID: 79155678363963D2
2 changed files with 5 additions and 5 deletions

8
dist/codecov.sh vendored
View file

@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
CC_WRAPPER_VERSION="0.0.20" CC_WRAPPER_VERSION="0.0.21"
say() { say() {
echo -e "$1" 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}$x"
say "$g ->$x Downloading $b${sha_url}.sig$x" say "$g ->$x Downloading $b${sha_url}.sig$x"
say " " say " "
curl -Os "$sha_url" curl -Os --retry 5 --retry-delay 2 --connect-timeout 2 "$sha_url"
curl -Os "${sha_url}.sig" curl -Os --retry 5 --retry-delay 2 --connect-timeout 2 "${sha_url}.sig"
if ! gpg --verify "${cc_filename}.SHA256SUM.sig" "${cc_filename}.SHA256SUM"; if ! gpg --verify "${cc_filename}.SHA256SUM.sig" "${cc_filename}.SHA256SUM";
then 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 fi
if ! (shasum -a 256 -c "${cc_filename}.SHA256SUM" || \ if ! (shasum -a 256 -c "${cc_filename}.SHA256SUM" || \
sha256sum -c "${cc_filename}.SHA256SUM"); sha256sum -c "${cc_filename}.SHA256SUM");

@ -1 +1 @@
Subproject commit 88c6239a26f0033d4657d91840151f4139cd2d13 Subproject commit 4c4c177b3885a70ab6f7d284e3874690e217633f