Skip to content

Commit

Permalink
Merge pull request #23 from codecov/th/fix-env-change
Browse files Browse the repository at this point in the history
fix: update env var
  • Loading branch information
thomasrockhu-codecov authored Nov 15, 2024
2 parents c4d213e + b908683 commit 25f50b4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/push-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
4 changes: 2 additions & 2 deletions dist/codecov.sh
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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) )
Expand All @@ -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
Expand Down
3 changes: 2 additions & 1 deletion scripts/set_do_upload_args.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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) )
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion scripts/version.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/usr/bin/env bash
CODECOV_WRAPPER_VERSION="0.0.23"
CODECOV_WRAPPER_VERSION="0.0.24"

0 comments on commit 25f50b4

Please sign in to comment.