From b6141808af616fea11f6e9447120e69b26f6cdb9 Mon Sep 17 00:00:00 2001 From: Chris Titus Date: Thu, 29 Aug 2024 21:24:45 -0500 Subject: [PATCH] Update pre-release.yaml --- .github/workflows/pre-release.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pre-release.yaml b/.github/workflows/pre-release.yaml index bf2e78fb21..0b14099e1d 100644 --- a/.github/workflows/pre-release.yaml +++ b/.github/workflows/pre-release.yaml @@ -100,10 +100,11 @@ jobs: - name: Prepare Release Body id: prepare_body run: | - $newChanges = "${{ steps.generate_notes.outputs.body }}" + $newChanges = '${{ steps.generate_notes.outputs.body }}' $formattedChanges = "Changes since ${{ env.LATEST_TAG }}:`n`n$newChanges" + $escapedChanges = $formattedChanges -replace '"', '\"' echo "body<> $env:GITHUB_OUTPUT - echo "$formattedChanges" >> $env:GITHUB_OUTPUT + echo "$escapedChanges" >> $env:GITHUB_OUTPUT echo "EOF" >> $env:GITHUB_OUTPUT shell: pwsh