Skip to content

Commit

Permalink
Fix line breaks in auto-created Github releases
Browse files Browse the repository at this point in the history
  • Loading branch information
jgosmann committed Feb 23, 2023
1 parent e6b1ed7 commit ba1c6d5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ba1c6d5

Please sign in to comment.