From 239bcdb427de6945e1f28eb53b22873ec72dbe00 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Sun, 20 Mar 2022 11:16:08 -0400 Subject: [PATCH] fix: change default commit env var to GIT_CLONE_COMMIT_HAS --- step.sh | 2 +- step.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/step.sh b/step.sh index 1b11f4e3..9356e874 100644 --- a/step.sh +++ b/step.sh @@ -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} diff --git a/step.yml b/step.yml index b715dd92..b858a51a 100644 --- a/step.yml +++ b/step.yml @@ -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: |-