summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrystal <crystal@noreply.codeberg.org>2025-04-21 20:06:35 -0600
committercrystal <crystal@noreply.codeberg.org>2025-04-21 20:06:35 -0600
commitf2d9ee5175832d72bfbda0228b7a06074fd21da7 (patch)
tree1dcd4d8aade5dcf3dce5d51eb8ecc218948b7244
parent622122afa126f914f3339a1138956700ec0b8dfe (diff)
Revert "[temp] download hardcoded tag"
This reverts commit 622122afa126f914f3339a1138956700ec0b8dfe.
-rwxr-xr-x.ci-make.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/.ci-make.sh b/.ci-make.sh
index a469556..4d5de56 100755
--- a/.ci-make.sh
+++ b/.ci-make.sh
@@ -130,8 +130,7 @@ case "$1" in
CI_COMMIT_TAG="$CI_COMMIT_TAG_RESOLVE"
fi
if [ $CI_COMMIT_TAG ] ; then
- 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_ASSETS=$(curl $CI_VERIFY_API/api/v1/repos/$CI_VERIFY_REPO/releases/tags/$CI_COMMIT_TAG | 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