From ad6a0472cc123e63a667b07312a0ba33c3a72990 Mon Sep 17 00:00:00 2001 From: shenleban tongying Date: Sat, 19 Oct 2024 16:53:39 -0400 Subject: [PATCH] fix change log generation again --- .github/workflows/Release-all.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/Release-all.yml b/.github/workflows/Release-all.yml index 4a4326b6..1dc40f02 100644 --- a/.github/workflows/Release-all.yml +++ b/.github/workflows/Release-all.yml @@ -171,21 +171,21 @@ jobs: "template": "#{{CHANGELOG}}\n\n
\n๐Ÿ”ด Uncategorized\n\n#{{UNCATEGORIZED}}\n
", "categories": [ { - "title": "## ๐Ÿš€ Features", - "labels": ["feature","feat","opt"] + "title": "#### ๐Ÿš€ Features", + "labels": ["feature","feat"] }, { - "title": "## ๐Ÿ› Fixes", - "labels": ["fix","bug"] + "title": "#### ๐Ÿ”ง Fixes and Optimizations", + "labels": ["fix","bug", "opt"] } , { - "title": "## ๐Ÿค– DevOps", + "title": "#### ๐Ÿค– DevOps", "labels": ["action"] } , { - "title": "## ๐Ÿงผ Clean Code", + "title": "#### ๐Ÿงผ Clean Code", "labels": ["clean","refactor"] } @@ -201,7 +201,8 @@ jobs: } - name: Get changelog.txt run: | - cat < changelog.txt + # HEREDOC must be quoted to avoid Bash substitution + cat <<'HEREDOC' > changelog.txt [Install instructions for Windows, macOS and Linux](https://xiaoyifang.github.io/goldendict-ng/install/). Filename pattern: GoldenDict-ng-[version]-[Qt version]-[system name]... @@ -209,7 +210,7 @@ jobs: For Linux, the released version is on Flathub โ†’ [io.github.xiaoyifang.goldendict_ng](https://flathub.org/apps/io.github.xiaoyifang.goldendict_ng). Based on branch: ${{ github.ref_name }} - #### Changes + ### Changes ${{ steps.build_changelog.outputs.changelog }} HEREDOC - name: Get release title