From 8485d1533432c9c35cc6da2b4fea897a6ed812af Mon Sep 17 00:00:00 2001 From: Jan Gosmann Date: Thu, 23 Feb 2023 21:55:20 +0100 Subject: [PATCH] Fix release pipeline changelog conversion /tmp/... does not seem to work? --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a7462d7..60e7a89 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -83,11 +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' > /tmp/release-body.md + run: sed -E -n '/^## \[${{ steps.version.outputs.version }}\]/,/^## \[[0-9\.]+\]/{/^\[[0-9\.]+\]/!p;}' CHANGES.md | sed '1d;$d' > release-body-raw.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 + args: --wrap none --from markdown --to gfm+hard_line_breaks --output release-body.md release-body-raw.md - name: Create GitHub release uses: softprops/action-gh-release@v1