Skip to content

Commit 88c6239

Browse files
fix: overwriting
1 parent c6162fc commit 88c6239

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

dist/codecov.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
2-
CC_WRAPPER_VERSION="0.0.19"
2+
CC_WRAPPER_VERSION="0.0.20"
33
say() {
44
echo -e "$1"
55
}
@@ -40,7 +40,6 @@ say " _____ _
4040
"
4141
CC_VERSION="${CC_VERSION:-latest}"
4242
CC_FAIL_ON_ERROR="${CC_FAIL_ON_ERROR:-false}"
43-
CC_OS="linux"
4443
if [ -n "$CC_BINARY" ];
4544
then
4645
if [ -f "$CC_BINARY" ];
@@ -55,6 +54,7 @@ else
5554
say "$g==>$x Overridden OS: $b${CC_OS}$x"
5655
export cc_os=${CC_OS}
5756
else
57+
CC_OS="linux"
5858
family=$(uname -s | tr '[:upper:]' '[:lower:]')
5959
cc_os="windows"
6060
[[ $family == "darwin" ]] && cc_os="macos"

scripts/download.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#!/usr/bin/env bash
22

3-
CODECOV_OS="linux"
4-
53
if [ -n "$CODECOV_BINARY" ];
64
then
75
if [ -f "$CODECOV_BINARY" ];
@@ -16,6 +14,7 @@ else
1614
say "$g==>$x Overridden OS: $b${CODECOV_OS}$x"
1715
export codecov_os=${CODECOV_OS}
1816
else
17+
CODECOV_OS="linux"
1918
family=$(uname -s | tr '[:upper:]' '[:lower:]')
2019
codecov_os="windows"
2120
[[ $family == "darwin" ]] && codecov_os="macos"

scripts/version.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/usr/bin/env bash
2-
CODECOV_WRAPPER_VERSION="0.0.19"
2+
CODECOV_WRAPPER_VERSION="0.0.20"

0 commit comments

Comments
 (0)