File tree Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ CC_PUBLIC_PGP_KEY=$(curl -s https://keybase.io/codecovsecurity/pgp_keys.asc)
112
112
then
113
113
exit_if_error " Could not verify signature. Please contact Codecov if problem continues"
114
114
fi
115
- if ! (shasum -a 256 -c " ${cc_filename} .SHA256SUM" || \
115
+ if ! (shasum -a 256 -c " ${cc_filename} .SHA256SUM" 2> /dev/null || \
116
116
sha256sum -c " ${cc_filename} .SHA256SUM" );
117
117
then
118
118
exit_if_error " Could not verify SHASUM. Please contact Codecov if problem continues"
123
123
cc_cli_args=()
124
124
cc_cli_args+=( $( k_arg AUTO_LOAD_PARAMS_FROM) $( v_arg AUTO_LOAD_PARAMS_FROM) )
125
125
cc_cli_args+=( $( k_arg ENTERPRISE_URL) $( v_arg ENTERPRISE_URL) )
126
- cc_cli_args+=( $( k_arg YML_PATH) $( v_arg YML_PATH) )
126
+ if [ -n $CC_YML_PATH ]
127
+ then
128
+ cc_cli_args+=( " --codecov-yml-path" )
129
+ cc_cli_args+=( " $CC_YML_PATH " )
130
+ fi
127
131
cc_cli_args+=( $( write_truthy_args CC_VERBOSE) )
128
132
cc_uc_args=()
129
133
# Args for create commit
Original file line number Diff line number Diff line change @@ -4,5 +4,9 @@ codecov_cli_args=()
4
4
5
5
codecov_cli_args+=( $( k_arg AUTO_LOAD_PARAMS_FROM) $( v_arg AUTO_LOAD_PARAMS_FROM) )
6
6
codecov_cli_args+=( $( k_arg ENTERPRISE_URL) $( v_arg ENTERPRISE_URL) )
7
- codecov_cli_args+=( $( k_arg YML_PATH) $( v_arg YML_PATH) )
7
+ if [ -n $CODECOV_YML_PATH ]
8
+ then
9
+ codecov_cli_args+=( " --codecov-yml-path" )
10
+ codecov_cli_args+=( " $CODECOV_YML_PATH " )
11
+ fi
8
12
codecov_cli_args+=( $( write_truthy_args CODECOV_VERBOSE) )
Original file line number Diff line number Diff line change 24
24
exit_if_error " Could not verify signature. Please contact Codecov if problem continues"
25
25
fi
26
26
27
- if ! (shasum -a 256 -c " ${codecov_filename} .SHA256SUM" || \
27
+ if ! (shasum -a 256 -c " ${codecov_filename} .SHA256SUM" 2> /dev/null || \
28
28
sha256sum -c " ${codecov_filename} .SHA256SUM" );
29
29
then
30
30
exit_if_error " Could not verify SHASUM. Please contact Codecov if problem continues"
You can’t perform that action at this time.
0 commit comments