From 01515db90f501c43c509f22bdfc50b563e79a234 Mon Sep 17 00:00:00 2001 From: Chris Titus Date: Thu, 29 Aug 2024 21:48:09 -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 70aff261..ef0866b6 100644 --- a/.github/workflows/pre-release.yaml +++ b/.github/workflows/pre-release.yaml @@ -102,7 +102,7 @@ jobs: run: | $newChanges = '${{ steps.generate_notes.outputs.body }}' $formattedChanges = "Changes since ${{ env.LATEST_TAG }}:`n`n$newChanges" - $escapedChanges = $formattedChanges -replace '%', '%25' -replace '\n', '%0A' -replace '\r', '%0D' -replace "'", '%27' -replace '"', '%22' + $escapedChanges = $formattedChanges -replace "`n", "%0A" -replace "'", "``'" -replace '"', '`"' echo "body=$escapedChanges" >> $env:GITHUB_OUTPUT shell: pwsh