Skip to content

Commit

Permalink
Merge pull request #17 from codecov/fix/commit-sha-env-var
Browse files Browse the repository at this point in the history
fix: change default commit env var to GIT_CLONE_COMMIT_HASH
  • Loading branch information
thomasrockhu-codecov authored Mar 21, 2022
2 parents cdc645f + 239bcdb commit 32742fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion step.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ chmod +x codecov
curl -H "Accept: application/json" "https://uploader.codecov.io/${OS}/${VERSION}" | grep -o '\"version\":\"v[0-9\.\_]\+\"' | head -1

# Upload coverage to Codecov
./codecov -Q "bitrise-step-3.0.0" -Z ${other_options}
./codecov -Q "bitrise-step-3.1.3" -Z ${other_options}
2 changes: 1 addition & 1 deletion step.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ inputs:
Version of the Codecov Uploader to use (e.g. `v0.1.0_8880`)
is_required: false
is_sensitive: false
- other_options: "-C $BITRISE_GIT_COMMIT"
- other_options: "-C $GIT_CLONE_COMMIT_HASH"
opts:
title: Additional options for Codecov call
description: |-
Expand Down

0 comments on commit 32742fd

Please sign in to comment.