Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ jobs:
uses: jacobtomlinson/gha-find-replace@v3
with:
find: "Next\n----"
replace: "Next\n----\n\n${{ steps.calver.outputs.release }}\n${{ steps.changelog_underline.outputs.underline\
\ }}"
replace: |-
Next\n----\n\n${{ steps.calver.outputs.release }}\n${{ steps.changelog_underline.outputs.underline }}\n
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Block scalar makes \n literal instead of newlines

The YAML block scalar syntax (|-) treats \n as literal backslash-n characters instead of actual newlines. The original double-quoted string correctly interpreted \n as newline characters. This will cause the changelog to have literal \n text inserted instead of proper line breaks, breaking the changelog formatting.

Fix in Cursor Fix in Web

include: CHANGELOG.rst
regex: false

Expand Down