Skip to content

Commit

Permalink
fix: overwriting
Browse files Browse the repository at this point in the history
thomasrockhu-codecov committed Oct 22, 2024
1 parent c6162fc commit 88c6239
Showing 3 changed files with 4 additions and 5 deletions.
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.19"
CC_WRAPPER_VERSION="0.0.20"
say() {
echo -e "$1"
}
@@ -40,7 +40,6 @@ say " _____ _
"
CC_VERSION="${CC_VERSION:-latest}"
CC_FAIL_ON_ERROR="${CC_FAIL_ON_ERROR:-false}"
CC_OS="linux"
if [ -n "$CC_BINARY" ];
then
if [ -f "$CC_BINARY" ];
@@ -55,6 +54,7 @@ else
say "$g==>$x Overridden OS: $b${CC_OS}$x"
export cc_os=${CC_OS}
else
CC_OS="linux"
family=$(uname -s | tr '[:upper:]' '[:lower:]')
cc_os="windows"
[[ $family == "darwin" ]] && cc_os="macos"
3 changes: 1 addition & 2 deletions scripts/download.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/usr/bin/env bash

CODECOV_OS="linux"

if [ -n "$CODECOV_BINARY" ];
then
if [ -f "$CODECOV_BINARY" ];
@@ -16,6 +14,7 @@ else
say "$g==>$x Overridden OS: $b${CODECOV_OS}$x"
export codecov_os=${CODECOV_OS}
else
CODECOV_OS="linux"
family=$(uname -s | tr '[:upper:]' '[:lower:]')
codecov_os="windows"
[[ $family == "darwin" ]] && codecov_os="macos"
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.19"
CODECOV_WRAPPER_VERSION="0.0.20"

0 comments on commit 88c6239

Please sign in to comment.