From d001fec21e49170f7a03de5e1b6f046f860352ff Mon Sep 17 00:00:00 2001 From: spdis Date: Thu, 27 Nov 2025 11:39:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=90=9E=E5=AE=9A=EF=BC=88=E5=BA=94=E8=AF=A5?= =?UTF-8?q?=EF=BC=89=F0=9F=98=85[ci][0.2.3]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 4a68cbf..0333d49 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -93,6 +93,9 @@ jobs: BRANCH=${GITHUB_REF#refs/heads/} TAG="$VERSION" NAME="$VERSION" - DL="${DOWNLOAD_BASE%/}/$ART" + BASE="${DOWNLOAD_BASE%/}" + BASE="${BASE%/ci}" + DL="$BASE/$ART" + echo "download: $DL" JSON=$(printf '{"tag_name":"%s","target_commitish":"%s","name":"%s","body":"%s"}' "$TAG" "$BRANCH" "$NAME" "$DL") curl -sS -X POST "$GITEA_SERVER/api/v1/repos/$GITEA_REPO/releases" -H "Content-Type: application/json" -H "Authorization: token $RELEASE_TOKEN" -d "$JSON"