From 0ab2c406edb3c2564099f8dc9eec71d3a63bcf2a Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Thu, 14 Nov 2024 22:36:55 -0500 Subject: [PATCH 1/2] fix: update env var --- .github/workflows/push-tag.yml | 2 +- dist/codecov.sh | 2 +- scripts/set_do_upload_args.sh | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/push-tag.yml b/.github/workflows/push-tag.yml index 4c054bc..12ec1cf 100644 --- a/.github/workflows/push-tag.yml +++ b/.github/workflows/push-tag.yml @@ -65,6 +65,6 @@ jobs: - name: Create pull request into main run: | - gh pr create --fill --base "main" --reviewer "codecov/report-upload" + gh pr create --fill --base "main" --reviewer "@codecov/report-upload" env: GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} diff --git a/dist/codecov.sh b/dist/codecov.sh index 6f534ea..b53074d 100755 --- a/dist/codecov.sh +++ b/dist/codecov.sh @@ -134,6 +134,7 @@ cc_cr_args+=( $(write_existing_args CC_PR) ) cc_cr_args+=( $(write_existing_args CC_SHA) ) cc_cr_args+=( $(write_existing_args CC_SLUG) ) cc_du_args=() +cc_du_args+=( $(write_existing_args CC_ENV) ) OLDIFS=$IFS;IFS=, cc_du_args+=( $(write_existing_args CC_BRANCH) ) cc_du_args+=( $(write_existing_args CC_BUILD) ) @@ -143,7 +144,6 @@ cc_du_args+=( $(write_existing_args CC_DIR) ) cc_du_args+=( $(write_truthy_args CC_DISABLE_FILE_FIXES) ) cc_du_args+=( $(write_truthy_args CC_DISABLE_SEARCH) ) cc_du_args+=( $(write_truthy_args CC_DRY_RUN) ) -cc_du_args+=( $(write_existing_args CC_ENV) ) if [ -n "$CC_EXCLUDES" ]; then for directory in $CC_EXCLUDES; do diff --git a/scripts/set_do_upload_args.sh b/scripts/set_do_upload_args.sh index cb357d3..c5cb6fb 100755 --- a/scripts/set_do_upload_args.sh +++ b/scripts/set_do_upload_args.sh @@ -2,6 +2,8 @@ codecov_du_args=() +codecov_du_args+=( $(write_existing_args CODECOV_ENV) ) + OLDIFS=$IFS;IFS=, codecov_du_args+=( $(write_existing_args CODECOV_BRANCH) ) @@ -12,7 +14,6 @@ codecov_du_args+=( $(write_existing_args CODECOV_DIR) ) codecov_du_args+=( $(write_truthy_args CODECOV_DISABLE_FILE_FIXES) ) codecov_du_args+=( $(write_truthy_args CODECOV_DISABLE_SEARCH) ) codecov_du_args+=( $(write_truthy_args CODECOV_DRY_RUN) ) -codecov_du_args+=( $(write_existing_args CODECOV_ENV) ) if [ -n "$CODECOV_EXCLUDES" ]; then From b908683cec6c5e8d13785edd03dd0962b6d734ce Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Thu, 14 Nov 2024 22:41:11 -0500 Subject: [PATCH 2/2] chore(release): bump to 0.0.24 --- dist/codecov.sh | 2 +- scripts/version.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/codecov.sh b/dist/codecov.sh index b53074d..f32ee2f 100755 --- a/dist/codecov.sh +++ b/dist/codecov.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -CC_WRAPPER_VERSION="0.0.23" +CC_WRAPPER_VERSION="0.0.24" set +u say() { echo -e "$1" diff --git a/scripts/version.sh b/scripts/version.sh index 0f3a7fc..3c53f3f 100755 --- a/scripts/version.sh +++ b/scripts/version.sh @@ -1,2 +1,2 @@ #!/usr/bin/env bash -CODECOV_WRAPPER_VERSION="0.0.23" +CODECOV_WRAPPER_VERSION="0.0.24"