From ebdaf0279f5f7520e60f551b5d47c5183695b85d Mon Sep 17 00:00:00 2001 From: crystal Date: Sun, 2 Jul 2023 23:37:17 -0600 Subject: [PATCH] Revert "experimental bin-dl" This reverts commit 4cb4499a8b4e19843c00f95d5cecf85b28aff671. --- .ci-make.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.ci-make.sh b/.ci-make.sh index e20e74f..5f8bd50 100755 --- a/.ci-make.sh +++ b/.ci-make.sh @@ -4,7 +4,6 @@ CI_VERIFY_API="https://codeberg.org" # Query the Forgejo API at this URL to chec CI_VERIFY_REPO="forgejo/forgejo" # Check this repo at the Forgejo API for upstream CI status CI_VERIFY_RETRY_TIME=120 # How long to wait in seconds before retrying if the pipeline is pending CI_VERIFY_RETRY_COUNT=30 # How many times to retry before giving up if the pipeline is pending -BIN_DL_REPO="forgejo-experimental/forgejo" # Use experimental repo for RC binary download case "$1" in "submodule-build") @@ -45,7 +44,7 @@ case "$1" in ;; "download-binary") if [ $CI_COMMIT_TAG ] ; then - CI_RELEASE_ASSETS=$(curl $CI_VERIFY_API/api/v1/repos/$BIN_DL_REPO/releases/tags/$CI_COMMIT_TAG | 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 --content-disposition $CI_RELEASE_BINARY_URL