From dea096d4c2630378362d7d18fc99313606fa02d7 Mon Sep 17 00:00:00 2001 From: Syngnat Date: Fri, 6 Mar 2026 14:26:08 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(release-notes):=20=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E8=87=AA=E5=8A=A8=E7=94=9F=E6=88=90=20Release=20?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=AF=B4=E6=98=8E=E5=B9=B6=E5=8C=BA=E5=88=86?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6=E5=91=BD=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/release.yaml | 26 ++++++++++++++++++++++++++ .github/workflows/release.yml | 1 + README.md | 1 + README.zh-CN.md | 1 + 4 files changed, 29 insertions(+) create mode 100644 .github/release.yaml diff --git a/.github/release.yaml b/.github/release.yaml new file mode 100644 index 0000000..5c87acd --- /dev/null +++ b/.github/release.yaml @@ -0,0 +1,26 @@ +changelog: + categories: + - title: 新功能 + labels: + - feature + - enhancement + - feat + - title: 问题修复 + labels: + - bug + - fix + - title: 文档与流程 + labels: + - docs + - documentation + - ci + - workflow + - chore + - title: 重构与优化 + labels: + - refactor + - perf + - optimization + - title: 其他更新 + labels: + - '*' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a4e6a37..7dd9b87 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -550,5 +550,6 @@ jobs: files: release-assets/* draft: true make_latest: true + generate_release_notes: true env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/README.md b/README.md index 4ad80ac..c2ad140 100644 --- a/README.md +++ b/README.md @@ -154,6 +154,7 @@ Artifacts are generated in `build/bin`. The repository includes a release workflow. Push a `v*` tag to trigger automated build and release. +Release notes are generated automatically from merged pull requests and categorized by `.github/release.yaml`. Target artifacts include: - macOS (AMD64 / ARM64) diff --git a/README.zh-CN.md b/README.zh-CN.md index 3a2f2d5..6c74566 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -147,6 +147,7 @@ wails build -clean ### 跨平台发布(GitHub Actions) 仓库内置发布流水线,推送 `v*` Tag 可自动构建并发布 Release。 +Release 更新说明会基于已合并 Pull Request 自动生成,并按 `.github/release.yaml` 分类。 支持目标: - macOS (AMD64 / ARM64)