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