From 9fbe331f5f9034431ab2cea26fdb402f8f62d3b2 Mon Sep 17 00:00:00 2001 From: Kent Dong Date: Wed, 26 Mar 2025 21:53:39 +0800 Subject: [PATCH] fix: Fetch get-higress.sh from standalone repo (#1945) --- .github/workflows/deploy-standalone-to-oss.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-standalone-to-oss.yaml b/.github/workflows/deploy-standalone-to-oss.yaml index f4763b5ee..4356f4b17 100644 --- a/.github/workflows/deploy-standalone-to-oss.yaml +++ b/.github/workflows/deploy-standalone-to-oss.yaml @@ -20,11 +20,11 @@ jobs: name: Prepare Standalone Package run: | mkdir ./artifact - cp ./tools/get-higress.sh ./artifact LOCAL_RELEASE_URL="https://github.com/higress-group/higress-standalone/releases" VERSION=$(curl -Ls $LOCAL_RELEASE_URL | grep 'href="/higress-group/higress-standalone/releases/tag/v[0-9]*.[0-9]*.[0-9]*\"' | sed -E 's/.*\/higress-group\/higress-standalone\/releases\/tag\/(v[0-9\.]+)".*/\1/g' | head -1) DOWNLOAD_URL="https://github.com/higress-group/higress-standalone/archive/refs/tags/${VERSION}.tar.gz" curl -SsL "$DOWNLOAD_URL" -o "./artifact/higress-${VERSION}.tar.gz" + curl -SsL "https://raw.githubusercontent.com/higress-group/higress-standalone/refs/heads/main/src/get-higress.sh" -o "./artifact/get-higress.sh" echo -n "$VERSION" > ./artifact/VERSION echo "Version=$VERSION" # Step 3