File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5959 fi
6060elif [ " $CC_USE_PYPI " == " true" ];
6161then
62- if ! pip install codecov-cli; then
62+ if ! pip install codecov-cli" $( [ " $CC_VERSION " == " latest " ] && echo " " || echo " == $CC_VERSION " ) " ; then
6363 exit_if_error " Could not install via pypi."
6464 exit
6565 fi
@@ -124,6 +124,7 @@ CC_PUBLIC_PGP_KEY=$(curl -s https://keybase.io/codecovsecurity/pgp_keys.asc)
124124 fi
125125 say " $g ==>$x CLI integrity verified"
126126 say
127+ chmod +x " $cc_command "
127128fi
128129if [ -n " $CC_BINARY_LOCATION " ];
129130then
245246fi
246247unset NODE_OPTIONS
247248# See https://github.com/codecov/uploader/issues/475
248- chmod +x " $cc_command "
249249say " $g ==>$x Running $CC_RUN_COMMAND "
250250say " $b$cc_command $( echo " ${cc_cli_args[@]} " ) $CC_RUN_COMMAND$token_str $( echo " ${cc_args[@]} " ) $x "
251251if ! $cc_command \
Original file line number Diff line number Diff line change 1111 fi
1212elif [ " $CODECOV_USE_PYPI " == " true" ];
1313then
14- if ! pip install codecov-cli; then
14+ if ! pip install codecov-cli" $( [ " $CODECOV_VERSION " == " latest " ] && echo " " || echo " == $CODECOV_VERSION " ) " ; then
1515 exit_if_error " Could not install via pypi."
1616 exit
1717 fi
Original file line number Diff line number Diff line change 1616unset NODE_OPTIONS
1717# See https://github.com/codecov/uploader/issues/475
1818
19- chmod +x " $codecov_command "
20-
2119say " $g ==>$x Running $CODECOV_RUN_COMMAND "
2220say " $b$codecov_command $( echo " ${codecov_cli_args[@]} " ) $CODECOV_RUN_COMMAND$token_str $( echo " ${codecov_args[@]} " ) $x "
2321if ! $codecov_command \
Original file line number Diff line number Diff line change 3131 fi
3232 say " $g ==>$x CLI integrity verified"
3333 say
34+ chmod +x " $codecov_command "
3435fi
3536
3637if [ -n " $CODECOV_BINARY_LOCATION " ];
You can’t perform that action at this time.
0 commit comments