From 7565883a090fbb7dc444ee817df92919df617e5e Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Thu, 5 Dec 2024 17:46:44 -0300 Subject: [PATCH 1/2] fix: use new URL for versioning --- dist/codecov.sh | 2 +- scripts/download.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/codecov.sh b/dist/codecov.sh index fa85ec9..ba442d2 100755 --- a/dist/codecov.sh +++ b/dist/codecov.sh @@ -86,7 +86,7 @@ else say "$g ->$x Downloading $b${cc_url}$x" curl -Os "$cc_url" say "$g==>$x Finishing downloading $b${cc_os}:${CC_VERSION}$x" - version_url="https://cli.codecov.io/${cc_os}/${CC_VERSION}" + version_url="https://cli.codecov.io/api/${cc_os}/${CC_VERSION}" version=$(curl -s "$version_url" -H "Accept:application/json" | jq -r '.version') say " Version: $b$version$x" say " " diff --git a/scripts/download.sh b/scripts/download.sh index e9586a0..0b26ef1 100755 --- a/scripts/download.sh +++ b/scripts/download.sh @@ -42,7 +42,7 @@ else curl -Os "$codecov_url" say "$g==>$x Finishing downloading $b${codecov_os}:${CODECOV_VERSION}$x" - version_url="https://cli.codecov.io/${codecov_os}/${CODECOV_VERSION}" + version_url="https://cli.codecov.io/api/${codecov_os}/${CODECOV_VERSION}" version=$(curl -s "$version_url" -H "Accept:application/json" | jq -r '.version') say " Version: $b$version$x" say " " From 49ba7df8fc2eccc7b17bc579cf5e4ad7c4d41b6c Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Thu, 5 Dec 2024 17:47:27 -0300 Subject: [PATCH 2/2] chore(release): 0.0.30 --- dist/codecov.sh | 2 +- scripts/version.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/codecov.sh b/dist/codecov.sh index ba442d2..7adca6c 100755 --- a/dist/codecov.sh +++ b/dist/codecov.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -CC_WRAPPER_VERSION="0.0.29" +CC_WRAPPER_VERSION="0.0.30" set +u say() { echo -e "$1" diff --git a/scripts/version.sh b/scripts/version.sh index d9ff3ea..f4d02fa 100755 --- a/scripts/version.sh +++ b/scripts/version.sh @@ -1,2 +1,2 @@ #!/usr/bin/env bash -CODECOV_WRAPPER_VERSION="0.0.29" +CODECOV_WRAPPER_VERSION="0.0.30"