summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrystal <crystal@noreply.codeberg.org>2024-01-09 16:54:15 -0700
committercrystal <crystal@noreply.codeberg.org>2024-01-09 16:54:15 -0700
commitb2c5780397b695b4b357f3e5c71919f3eb062fad (patch)
tree75e8e73b874e2e166168eb3b95ed1d26acf1218b
parent687c0783184e68c72fd099400a5f73b419cc6eea (diff)
[temp] download hardcoded tag
-rwxr-xr-x.ci-make.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/.ci-make.sh b/.ci-make.sh
index c22c0b9..32e113d 100755
--- a/.ci-make.sh
+++ b/.ci-make.sh
@@ -46,7 +46,8 @@ case "$1" in
;;
"download-binary")
if [ $CI_COMMIT_TAG ] ; then
- CI_RELEASE_ASSETS=$(curl $CI_VERIFY_API/api/v1/repos/$CI_VERIFY_REPO/releases/tags/$CI_COMMIT_TAG | jq -c '.assets[]' | grep linux-amd64)
+ echo "WARNING: Using hardcoded tag: v1.20.6-1"
+ CI_RELEASE_ASSETS=$(curl $CI_VERIFY_API/api/v1/repos/$CI_VERIFY_REPO/releases/tags/v1.20.6-1 | jq -c '.assets[]' | grep linux-amd64)
CI_RELEASE_BINARY_URL=$(echo "$CI_RELEASE_ASSETS" | grep linux-amd64\" | jq -r --jsonargs .browser_download_url)
CI_RELEASE_SHA256=$(curl $(echo "$CI_RELEASE_ASSETS" | grep linux-amd64.sha256\" | jq -r --jsonargs .browser_download_url) | cut -d ' ' -f1)
wget -nv --content-disposition $CI_RELEASE_BINARY_URL