mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-12 14:07:25 +00:00
Update dist/codecov.sh
This commit is contained in:
parent
eb7db152fb
commit
dd426b6af7
1 changed files with 1 additions and 6 deletions
7
dist/codecov.sh
vendored
7
dist/codecov.sh
vendored
|
|
@ -100,12 +100,7 @@ CC_PUBLIC_PGP_KEY=$(curl https://keybase.io/codecovsecurity/pgp_keys.asc)
|
||||||
curl -Os "${sha_url}.sig"
|
curl -Os "${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 signature. Please contact Codecov if problem continues"
|
exit_if_error "Could not verify SHASUM. Please contact security@codecov.io if problem continues"
|
||||||
fi
|
|
||||||
if ! (shasum -a 256 -c "${cc_filename}.SHA256SUM" || \
|
|
||||||
sha256sum -c "${cc_filename}.SHA256SUM");
|
|
||||||
then
|
|
||||||
exit_if_error "Could not verify SHASUM. Please contact Codecov if problem continues"
|
|
||||||
fi
|
fi
|
||||||
say "$g==>$x CLI integrity verified"
|
say "$g==>$x CLI integrity verified"
|
||||||
say
|
say
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue