mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-08 03:57:26 +00:00
fix: add scripts again
This commit is contained in:
commit
7556b57ca3
2 changed files with 5 additions and 5 deletions
8
dist/codecov.sh
vendored
8
dist/codecov.sh
vendored
|
|
@ -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");
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 88c6239a26f0033d4657d91840151f4139cd2d13
|
||||
Subproject commit 4c4c177b3885a70ab6f7d284e3874690e217633f
|
||||
Loading…
Reference in a new issue