From 2b8592a50a7a4678cbe9f2e76040e0004e1e4a0b Mon Sep 17 00:00:00 2001 From: Chris Titus Date: Thu, 29 Aug 2024 22:05:18 -0500 Subject: [PATCH] Update pre-release.yaml --- .github/workflows/pre-release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pre-release.yaml b/.github/workflows/pre-release.yaml index a6cd0f43..825bd893 100644 --- a/.github/workflows/pre-release.yaml +++ b/.github/workflows/pre-release.yaml @@ -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