From 738ff8248fb22b56e7f4f894f319c7d1b9913669 Mon Sep 17 00:00:00 2001 From: zhilv Date: Tue, 26 May 2026 18:25:09 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(release):=20=E6=98=BE?= =?UTF-8?q?=E5=BC=8F=E4=BC=A0=E9=80=92=E5=8F=91=E5=B8=83=E7=9B=AE=E6=A0=87?= =?UTF-8?q?=E4=BB=93=E5=BA=93=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 发布步骤调用 publish-gitea-release.sh 时显式传入 gitea-url、owner 和 repo - 避免子进程回退到脚本默认值 Eeveid/lightOps,导致日志和 Release 目标仓库混淆 - 保持当前使用 RELEASE_TOKEN 和 main 作为 target_commitish 的逻辑不变 --- .gitea/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index d10b526..cc5f348 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -138,6 +138,9 @@ jobs: cd lightops-src TAG="$(cat /tmp/lightops-release-tag)" bash scripts/publish-gitea-release.sh \ + --gitea-url "$GITEA_URL" \ + --owner "$GITEA_OWNER" \ + --repo "$GITEA_REPO" \ --tag "$TAG" \ --title "LightOps ${TAG}" \ --target "main" \