From 8623f865050217365d7c6304f81afe078a788c3a Mon Sep 17 00:00:00 2001 From: cc <98377878+hicccc77@users.noreply.github.com> Date: Tue, 20 Jan 2026 22:40:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=BA=86=E4=B8=80?= =?UTF-8?q?=E4=BA=9B=E5=B7=B2=E7=9F=A5=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 48 +---------------------------------- 1 file changed, 1 insertion(+), 47 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 07511ce..a951b78 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,56 +39,10 @@ jobs: npx tsc npx vite build - - name: Create Changelog Config - shell: bash - run: | - cat < changelog_config.json - { - "template": "# ${{ github.ref_name }} 更新日志\n\n{{CHANGELOG}}\n\n---\n> 此更新由系统自动构建", - "categories": [ - { - "title": "## 新功能", - "filter": { "pattern": "^feat", "flags": "i" } - }, - { - "title": "## 修复", - "filter": { "pattern": "^fix", "flags": "i" } - }, - { - "title": "## 性能与维护", - "filter": { "pattern": "^(chore|docs|perf|refactor|ci|style|test)", "flags": "i" } - }, - { - "title": "## 其他改动", - "filter": { "pattern": ".*", "flags": "i" } - } - ], - "ignore_labels": [], - "commitMode": true, - "empty_summary": "## 更新详情\n- 常规代码优化与维护" - } - EOF - - - name: Build Changelog - id: build_changelog - uses: mikepenz/release-changelog-builder-action@v5 - with: - configuration: "changelog_config.json" - outputFile: "release-notes.md" - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: Check Changelog Content - shell: bash - run: | - echo "=== RELEASE NOTES START ===" - cat release-notes.md - echo "=== RELEASE NOTES END ===" - - name: Inject Configuration shell: bash run: | - npm pkg set build.releaseInfo.releaseNotesFile=release-notes.md + npm pkg set build.releaseInfo.releaseNotes="修复了一些已知问题" - name: Package and Publish env: