From c47791bc3c1b720ac551e104866217b5da28f933 Mon Sep 17 00:00:00 2001 From: zhilv Date: Tue, 26 May 2026 13:34:55 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20chore(workflow):=20=E7=A7=BB?= =?UTF-8?q?=E9=99=A4=20Release=20Token=20=E9=A2=84=E6=A3=80=E6=97=A5?= =?UTF-8?q?=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 清理发布步骤中的临时调试输出 - 保持使用 RELEASE_TOKEN 进行 Release 发布 - 为重新验证更新后的仓库密钥提供干净日志 --- .gitea/workflows/release.yml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 04b69cb..0d21804 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -135,15 +135,6 @@ jobs: GITEA_URL="${SERVER_URL%/}" GITEA_OWNER="${REPOSITORY%%/*}" GITEA_REPO="${REPOSITORY#*/}" - echo "RELEASE_TOKEN length: $(printf '%s' "${GITEA_TOKEN:-}" | wc -c)" - curl -sS -o /tmp/lightops-user.json -w 'user status: %{http_code}\n' \ - -H "Authorization: token ${GITEA_TOKEN}" \ - "${GITEA_URL}/api/v1/user" - cat /tmp/lightops-user.json - curl -sS -o /tmp/lightops-release-list.json -w 'release list status: %{http_code}\n' \ - -H "Authorization: token ${GITEA_TOKEN}" \ - "${GITEA_URL}/api/v1/repos/${GITEA_OWNER}/${GITEA_REPO}/releases" - cat /tmp/lightops-release-list.json cd lightops-src TAG="$(cat /tmp/lightops-release-tag)" TARGET_SHA="$(git rev-parse HEAD)"