From e35fb0201cbf617f833762e9eaa3d9e25a6f904b Mon Sep 17 00:00:00 2001 From: Jasery Date: Thu, 30 Oct 2025 11:26:00 +0800 Subject: [PATCH] =?UTF-8?q?ci(workflows):=20=E4=BF=AE=E5=A4=8D=E5=8F=91?= =?UTF-8?q?=E5=B8=83=E5=B7=A5=E4=BD=9C=E6=B5=81=E4=B8=AD=E7=9A=84=E6=A0=87?= =?UTF-8?q?=E7=AD=BE=E6=8E=A8=E9=80=81=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复在发布工作流中未正确创建标签的问题,现在先创建标签再推送 --- .github/workflows/publish.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ac4c51c..c5ec6ef 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -65,7 +65,8 @@ jobs: - name: Push changes run: | git push origin main - git push origin v${{ env.VERSION }} + git tag "v${{ env.VERSION }}" + git push origin "v${{ env.VERSION }}" - name: Build for Windows run: |