Skip to content

Commit 0565863

Browse files
chore(release): 5.4.0 (#1781)
1 parent c545d7b commit 0565863

File tree

3 files changed

+36
-16
lines changed

3 files changed

+36
-16
lines changed

CHANGELOG.md

+19
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
## v5.4.0
2+
3+
### What's Changed
4+
* update wrapper submodule to 0.2.0, add recurse_submodules arg by @matt-codecov in https://github.com/codecov/codecov-action/pull/1780
5+
* build(deps): bump actions/upload-artifact from 4.6.0 to 4.6.1 by @app/dependabot in https://github.com/codecov/codecov-action/pull/1775
6+
* build(deps): bump ossf/scorecard-action from 2.4.0 to 2.4.1 by @app/dependabot in https://github.com/codecov/codecov-action/pull/1776
7+
* build(deps): bump github/codeql-action from 3.28.9 to 3.28.10 by @app/dependabot in https://github.com/codecov/codecov-action/pull/1777
8+
* Clarify in README that `use_pypi` bypasses integrity checks too by @webknjaz in https://github.com/codecov/codecov-action/pull/1773
9+
* Fix use of safe.directory inside containers by @Flamefire in https://github.com/codecov/codecov-action/pull/1768
10+
* Fix description for report_type input by @craigscott-crascit in https://github.com/codecov/codecov-action/pull/1770
11+
* build(deps): bump github/codeql-action from 3.28.8 to 3.28.9 by @app/dependabot in https://github.com/codecov/codecov-action/pull/1765
12+
* Fix a typo in the example by @miranska in https://github.com/codecov/codecov-action/pull/1758
13+
* build(deps): bump github/codeql-action from 3.28.5 to 3.28.8 by @app/dependabot in https://github.com/codecov/codecov-action/pull/1757
14+
* build(deps): bump github/codeql-action from 3.28.1 to 3.28.5 by @app/dependabot in https://github.com/codecov/codecov-action/pull/1753
15+
16+
17+
**Full Changelog**: https://github.com/codecov/codecov-action/compare/v5.3.1..v5.4.0
18+
19+
120
## v5.3.1
221

322
### What's Changed

dist/codecov.sh

+16-15
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
2-
CC_WRAPPER_VERSION="0.1.0"
2+
CC_WRAPPER_VERSION="0.2.0"
33
set +u
44
say() {
55
echo -e "$1"
@@ -27,7 +27,7 @@ v_arg() {
2727
echo "$(eval echo \$"CC_$1")"
2828
fi
2929
}
30-
write_truthy_args() {
30+
write_bool_args() {
3131
if [ "$(eval echo \$$1)" = "true" ] || [ "$(eval echo \$$1)" = "1" ];
3232
then
3333
echo "-$(lower $1)"
@@ -143,8 +143,8 @@ then
143143
cc_cli_args+=( "--codecov-yml-path" )
144144
cc_cli_args+=( "$CC_YML_PATH" )
145145
fi
146-
cc_cli_args+=( $(write_truthy_args CC_DISABLE_TELEM) )
147-
cc_cli_args+=( $(write_truthy_args CC_VERBOSE) )
146+
cc_cli_args+=( $(write_bool_args CC_DISABLE_TELEM) )
147+
cc_cli_args+=( $(write_bool_args CC_VERBOSE) )
148148
if [ -n "$CC_TOKEN_VAR" ];
149149
then
150150
token="$(eval echo \$$CC_TOKEN_VAR)"
@@ -162,7 +162,7 @@ fi
162162
if [ "$CC_RUN_CMD" == "upload-coverage" ]; then
163163
cc_args=()
164164
# Args for create commit
165-
cc_args+=( $(write_truthy_args CC_FAIL_ON_ERROR) )
165+
cc_args+=( $(write_bool_args CC_FAIL_ON_ERROR) )
166166
cc_args+=( $(k_arg GIT_SERVICE) $(v_arg GIT_SERVICE))
167167
cc_args+=( $(k_arg PARENT_SHA) $(v_arg PARENT_SHA))
168168
cc_args+=( $(k_arg PR) $(v_arg PR))
@@ -177,9 +177,9 @@ cc_args+=( $(k_arg BRANCH) $(v_arg BRANCH))
177177
cc_args+=( $(k_arg BUILD) $(v_arg BUILD))
178178
cc_args+=( $(k_arg BUILD_URL) $(v_arg BUILD_URL))
179179
cc_args+=( $(k_arg DIR) $(v_arg DIR))
180-
cc_args+=( $(write_truthy_args CC_DISABLE_FILE_FIXES) )
181-
cc_args+=( $(write_truthy_args CC_DISABLE_SEARCH) )
182-
cc_args+=( $(write_truthy_args CC_DRY_RUN) )
180+
cc_args+=( $(write_bool_args CC_DISABLE_FILE_FIXES) )
181+
cc_args+=( $(write_bool_args CC_DISABLE_SEARCH) )
182+
cc_args+=( $(write_bool_args CC_DRY_RUN) )
183183
if [ -n "$CC_EXCLUDES" ];
184184
then
185185
for directory in $CC_EXCLUDES; do
@@ -202,9 +202,10 @@ cc_args+=( $(k_arg GCOV_ARGS) $(v_arg GCOV_ARGS))
202202
cc_args+=( $(k_arg GCOV_EXECUTABLE) $(v_arg GCOV_EXECUTABLE))
203203
cc_args+=( $(k_arg GCOV_IGNORE) $(v_arg GCOV_IGNORE))
204204
cc_args+=( $(k_arg GCOV_INCLUDE) $(v_arg GCOV_INCLUDE))
205-
cc_args+=( $(write_truthy_args CC_HANDLE_NO_REPORTS_FOUND) )
205+
cc_args+=( $(write_bool_args CC_HANDLE_NO_REPORTS_FOUND) )
206+
cc_args+=( $(write_bool_args CC_RECURSE_SUBMODULES) )
206207
cc_args+=( $(k_arg JOB_CODE) $(v_arg JOB_CODE))
207-
cc_args+=( $(write_truthy_args CC_LEGACY) )
208+
cc_args+=( $(write_bool_args CC_LEGACY) )
208209
if [ -n "$CC_NAME" ];
209210
then
210211
cc_args+=( "--name" "$CC_NAME" )
@@ -223,8 +224,8 @@ cc_args+=( $(k_arg SWIFT_PROJECT) $(v_arg SWIFT_PROJECT))
223224
IFS=$OLDIFS
224225
elif [ "$CC_RUN_CMD" == "empty-upload" ]; then
225226
cc_args=()
226-
cc_args+=( $(write_truthy_args CC_FAIL_ON_ERROR) )
227-
cc_args+=( $(write_truthy_args CC_FORCE) )
227+
cc_args+=( $(write_bool_args CC_FAIL_ON_ERROR) )
228+
cc_args+=( $(write_bool_args CC_FORCE) )
228229
cc_args+=( $(k_arg GIT_SERVICE) $(v_arg GIT_SERVICE))
229230
cc_args+=( $(k_arg SHA) $(v_arg SHA))
230231
cc_args+=( $(k_arg SLUG) $(v_arg SLUG))
@@ -237,17 +238,17 @@ cc_args+=( $(k_arg SERVICE) $(v_arg SERVICE))
237238
elif [ "$CC_RUN_CMD" == "send-notifications" ]; then
238239
cc_args=()
239240
cc_args+=( $(k_arg SHA) $(v_arg SHA))
240-
cc_args+=( $(write_truthy_args CC_FAIL_ON_ERROR) )
241+
cc_args+=( $(write_bool_args CC_FAIL_ON_ERROR) )
241242
cc_args+=( $(k_arg GIT_SERVICE) $(v_arg GIT_SERVICE))
242243
cc_args+=( $(k_arg SLUG) $(v_arg SLUG))
243244
else
244245
exit_if_error "Invalid run command specified: $CC_RUN_CMD"
245246
exit
246247
fi
247248
unset NODE_OPTIONS
248-
# See https://github.com/codecov/uploader/issues/475
249+
# https://github.com/codecov/uploader/issues/475
249250
say "$g==>$x Running $CC_RUN_CMD"
250-
say " $b$cc_command $(echo "${cc_cli_args[@]}")$CC_RUN_CMD$token_str $(echo "${cc_args[@]}")$x"
251+
say " $b$cc_command $(echo "${cc_cli_args[@]}") $CC_RUN_CMD$token_str $(echo "${cc_args[@]}")$x"
251252
if ! $cc_command \
252253
${cc_cli_args[*]} \
253254
${CC_RUN_CMD} \

src/version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.3.1
1+
5.4.0

0 commit comments

Comments
 (0)