chore(deps): bump wrapper to 0.0.23 (#1644)

This commit is contained in:
Tom Hu
2024-11-14 10:28:53 -05:00
committed by GitHub
parent 193421c5b3
commit 2112eaec1b
2 changed files with 6 additions and 3 deletions

7
dist/codecov.sh vendored
View File

@@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
CC_WRAPPER_VERSION="0.0.22" CC_WRAPPER_VERSION="0.0.23"
set +u set +u
say() { say() {
echo -e "$1" echo -e "$1"
@@ -80,13 +80,16 @@ else
say "$g ->$x Downloading $b${cc_url}$x" say "$g ->$x Downloading $b${cc_url}$x"
curl -Os $cc_url curl -Os $cc_url
say "$g==>$x Finishing downloading $b${cc_os}:${CC_VERSION}$x" say "$g==>$x Finishing downloading $b${cc_os}:${CC_VERSION}$x"
version_url="https://cli.codecov.io/${cc_os}/${CC_VERSION}"
version=$(curl -s $version_url -H "Accept:application/json" | jq -r '.version')
say " Version: $b$version$x"
say " " say " "
fi fi
if [ "$CC_SKIP_VALIDATION" = "true" ] || [ -n "$CC_BINARY" ]; if [ "$CC_SKIP_VALIDATION" = "true" ] || [ -n "$CC_BINARY" ];
then then
say "$r==>$x Bypassing validation as requested by user" say "$r==>$x Bypassing validation as requested by user"
else else
CC_PUBLIC_PGP_KEY=$(curl https://keybase.io/codecovsecurity/pgp_keys.asc) CC_PUBLIC_PGP_KEY=$(curl -s https://keybase.io/codecovsecurity/pgp_keys.asc)
echo "${CC_PUBLIC_PGP_KEY}" | \ echo "${CC_PUBLIC_PGP_KEY}" | \
gpg --no-default-keyring --import gpg --no-default-keyring --import
# One-time step # One-time step