Skip to content

Commit 2112eae

Browse files
chore(deps): bump wrapper to 0.0.23 (#1644)
1 parent 193421c commit 2112eae

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

dist/codecov.sh

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
2-
CC_WRAPPER_VERSION="0.0.22"
2+
CC_WRAPPER_VERSION="0.0.23"
33
set +u
44
say() {
55
echo -e "$1"
@@ -80,13 +80,16 @@ else
8080
say "$g ->$x Downloading $b${cc_url}$x"
8181
curl -Os $cc_url
8282
say "$g==>$x Finishing downloading $b${cc_os}:${CC_VERSION}$x"
83+
version_url="https://cli.codecov.io/${cc_os}/${CC_VERSION}"
84+
version=$(curl -s $version_url -H "Accept:application/json" | jq -r '.version')
85+
say " Version: $b$version$x"
8386
say " "
8487
fi
8588
if [ "$CC_SKIP_VALIDATION" = "true" ] || [ -n "$CC_BINARY" ];
8689
then
8790
say "$r==>$x Bypassing validation as requested by user"
8891
else
89-
CC_PUBLIC_PGP_KEY=$(curl https://keybase.io/codecovsecurity/pgp_keys.asc)
92+
CC_PUBLIC_PGP_KEY=$(curl -s https://keybase.io/codecovsecurity/pgp_keys.asc)
9093
echo "${CC_PUBLIC_PGP_KEY}" | \
9194
gpg --no-default-keyring --import
9295
# One-time step

0 commit comments

Comments
 (0)