Skip to content

Commit

Permalink
Update pre-release.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisTitusTech committed Aug 30, 2024
1 parent 2ba5572 commit 01515db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pre-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 01515db

Please sign in to comment.