File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 80
80
say " $g ->$x Downloading $b ${cc_url} $x "
81
81
curl -Os $cc_url
82
82
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 "
83
86
say " "
84
87
fi
85
88
if [ " $CC_SKIP_VALIDATION " = " true" ] || [ -n " $CC_BINARY " ];
86
89
then
87
90
say " $r ==>$x Bypassing validation as requested by user"
88
91
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)
90
93
echo " ${CC_PUBLIC_PGP_KEY} " | \
91
94
gpg --no-default-keyring --import
92
95
# One-time step
Original file line number Diff line number Diff line change 40
40
codecov_url=" $codecov_url /${codecov_os} /${codecov_filename} "
41
41
say " $g ->$x Downloading $b ${codecov_url} $x "
42
42
curl -Os $codecov_url
43
-
44
43
say " $g ==>$x Finishing downloading $b ${codecov_os} :${CODECOV_VERSION} $x "
44
+
45
+ version_url=" https://cli.codecov.io/${codecov_os} /${CODECOV_VERSION} "
46
+ version=$( curl -s $version_url -H " Accept:application/json" | jq -r ' .version' )
47
+ say " Version: $b$version$x "
45
48
say " "
46
49
fi
Original file line number Diff line number Diff line change 1
- CODECOV_PUBLIC_PGP_KEY=$( curl https://keybase.io/codecovsecurity/pgp_keys.asc)
1
+ CODECOV_PUBLIC_PGP_KEY=$( curl -s https://keybase.io/codecovsecurity/pgp_keys.asc)
You can’t perform that action at this time.
0 commit comments