From a22075aa801b0d8cddaac799776b61325270220c Mon Sep 17 00:00:00 2001 From: Jitka Obselkova Date: Thu, 13 Nov 2025 21:18:57 +0100 Subject: [PATCH] Fix GH release notes fixes #992 --- templates/github/.github/workflows/publish.yml.j2 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/templates/github/.github/workflows/publish.yml.j2 b/templates/github/.github/workflows/publish.yml.j2 index d8cc125d..4171bcf4 100644 --- a/templates/github/.github/workflows/publish.yml.j2 +++ b/templates/github/.github/workflows/publish.yml.j2 @@ -161,14 +161,16 @@ jobs: - name: "Create release on GitHub" uses: "actions/github-script@v7" + env: + RELEASE_BODY: {% raw %}${{ steps.get_release_notes.outputs.body }}{% endraw %} with: script: | - const { TAG_NAME } = process.env; + const { TAG_NAME, RELEASE_BODY } = process.env; await github.rest.repos.createRelease({ owner: context.repo.owner, repo: context.repo.repo, tag_name: TAG_NAME, - body: `{% raw %}${{ steps.get_release_notes.outputs.body }}{% endraw %}`, + body: RELEASE_BODY, make_latest: "legacy", });