From f11e79b2f1ca901cf610fca3d89f7da18d6a38f1 Mon Sep 17 00:00:00 2001 From: maesi Date: Tue, 3 Feb 2026 08:45:28 +0100 Subject: [PATCH] fix building release notes --- .github/actions/build-release-notes/action.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/actions/build-release-notes/action.yml b/.github/actions/build-release-notes/action.yml index 56d728562..34da9ee25 100644 --- a/.github/actions/build-release-notes/action.yml +++ b/.github/actions/build-release-notes/action.yml @@ -6,12 +6,13 @@ runs: - name: Write release notes shell: bash run: | - VERSION="${{ github.event.release.tag_name }}" - cat <<'EOF' > docs/release.md - # Mokapi ${{ github.event.release.tag_name }} - - ${{ github.event.release.body }} - EOF + VERSION=$(jq -r '.release.tag_name' "$GITHUB_EVENT_PATH") + BODY=$(jq -r '.release.body' "$GITHUB_EVENT_PATH") + { + echo "# Mokapi $VERSION" + echo + echo "$BODY" + } > docs/release.md - name: Upload UI artifact uses: actions/upload-artifact@v4 with: