Update pre-release.yaml

This commit is contained in:
Chris Titus 2024-08-29 22:05:18 -05:00
parent aad0356c28
commit 2b8592a50a

View File

@ -101,7 +101,7 @@ jobs:
id: prepare_body
run: |
$newChanges = '${{ steps.generate_notes.outputs.body }}'
$escapedChanges = $newChanges -replace '(?m)^\s*(.+)\s*$', '$1' -replace "'", "''" -replace '"', '\"' -replace "`n", "\n" -replace "`r", ""
$escapedChanges = $newChanges -replace '(?m)^\s*(.+)\s*$', '$1' -replace "'", '\"' -replace '"', '\"' -replace "`n", "\n" -replace "`r", ""
echo "body=$escapedChanges" | Out-File -Append -Encoding utf8 $env:GITHUB_OUTPUT
shell: pwsh