Skip to content

Commit

Permalink
chore(release): 0.0.17 fix truthy
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrockhu-codecov committed Oct 4, 2024
1 parent 7f549d5 commit 9a9fbc3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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.16"
CC_WRAPPER_VERSION="0.0.17"
say() {
echo -e "$1"
}
Expand All @@ -21,7 +21,7 @@ write_existing_args() {
fi
}
write_truthy_args() {
if [ "$(eval echo \$$1)" = "true" ];
if [ "$(eval echo \$$1)" = "true" ] || [ "$(eval echo \$$1)" = "1" ];
then
echo " -$(lower $1)"
fi
Expand Down
2 changes: 1 addition & 1 deletion scripts/set_defaults.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ write_existing_args() {
}

write_truthy_args() {
if [ "$(eval echo \$$1)" = "true" ];
if [ "$(eval echo \$$1)" = "true" ] || [ "$(eval echo \$$1)" = "1" ];
then
echo " -$(lower $1)"
fi
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.16"
CODECOV_WRAPPER_VERSION="0.0.17"

0 comments on commit 9a9fbc3

Please sign in to comment.