From f291105322d419a5b36ca71d7cec4314c508addf Mon Sep 17 00:00:00 2001 From: Zhengchen Tao Date: Tue, 28 Apr 2026 15:06:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.gitea/workflows/sync-upst?= =?UTF-8?q?ream.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/sync-upstream.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitea/workflows/sync-upstream.yml b/.gitea/workflows/sync-upstream.yml index cd659fa4..f03515d1 100644 --- a/.gitea/workflows/sync-upstream.yml +++ b/.gitea/workflows/sync-upstream.yml @@ -27,7 +27,6 @@ jobs: if [ -n "${{ inputs.tag }}" ]; then TARGET="${{ inputs.tag }}" else - # 自动找 upstream 最新 tag(按版本号排序) TARGET=$(git tag -l --sort=-v:refname | head -n 1) fi @@ -37,4 +36,4 @@ jobs: git checkout -B main origin/main git reset --hard "$TARGET" git push origin main --force-with-lease - git push origin --tags # tag 也推到 dev 仓库 \ No newline at end of file + git push origin --tags \ No newline at end of file