Update pre-release.yaml

This commit is contained in:
Chris Titus 2024-08-29 21:24:45 -05:00
parent a21845327b
commit b6141808af

View File

@ -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<<EOF" >> $env:GITHUB_OUTPUT
echo "$formattedChanges" >> $env:GITHUB_OUTPUT
echo "$escapedChanges" >> $env:GITHUB_OUTPUT
echo "EOF" >> $env:GITHUB_OUTPUT
shell: pwsh