From 71bf9ba97e06b0c77c34c89c282916cc32e1ada9 Mon Sep 17 00:00:00 2001 From: sinspired Date: Sat, 16 Nov 2024 18:31:16 +0800 Subject: [PATCH] =?UTF-8?q?Feat(UI):=20=E6=96=B0=E5=A2=9E=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E7=99=BB=E5=BD=95=E7=95=8C=E9=9D=A2=E3=80=81=E6=96=B0?= =?UTF-8?q?=E5=A2=9E:=20=E5=AE=9E=E7=8E=B0=E7=94=A8=E6=88=B7=E8=AE=A4?= =?UTF-8?q?=E8=AF=81=E5=8A=9F=E8=83=BD=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/create_release.yml | 2 +- .goreleaser.yaml | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/create_release.yml b/.github/workflows/create_release.yml index 9589e42..cb1e99a 100644 --- a/.github/workflows/create_release.yml +++ b/.github/workflows/create_release.yml @@ -31,7 +31,7 @@ jobs: # 添加控制emoji标题的变量 - name: Set Changelog Emoji Option - run: echo "USE_EMOJI_TITLE=true" >> $GITHUB_ENV + run: echo "USE_EMOJI_TITLE="测试标题" >> $GITHUB_ENV - name: Debug Environment Variables run: echo "USE_EMOJI=$USE_EMOJI_TITLE" diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 789ccda..6e8f32e 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -70,11 +70,8 @@ changelog: # - title: "✨ New Features (新功能)" - title: | - {{ if .Env.USE_EMOJI_TITLE }} - ✨ New Features (新功能) - {{ else }} - New Features - {{ end }} + {{ .Env.USE_EMOJI_TITLE }} + regexp: '^(?i).*?(feat|功能|新增|feature|新特性)(\(.+\))??!?[-:\s].+$' order: 100