From ba1c6d553150f3e394689e2678081b5db3cab5e1 Mon Sep 17 00:00:00 2001 From: Jan Gosmann Date: Thu, 23 Feb 2023 21:50:04 +0100 Subject: [PATCH] Fix line breaks in auto-created Github releases --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 294d178..a7462d7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -83,7 +83,11 @@ jobs: - name: Extract changelog id: changelog - run: sed -E -n '/^## \[${{ steps.version.outputs.version }}\]/,/^## \[[0-9\.]+\]/{/^\[[0-9\.]+\]/!p;}' CHANGES.md | sed '1d;$d' > release-body.md + run: sed -E -n '/^## \[${{ steps.version.outputs.version }}\]/,/^## \[[0-9\.]+\]/{/^\[[0-9\.]+\]/!p;}' CHANGES.md | sed '1d;$d' > /tmp/release-body.md + + - uses: docker://pandoc/core:2.10 + with: + args: --wrap none --from markdown --to gfm+hard_line_breaks --output release-body.md /tmp/release-body.md - name: Create GitHub release uses: softprops/action-gh-release@v1