mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-11-24 11:55:31 +00:00
Update pre-release.yaml
This commit is contained in:
parent
2ba5572b6c
commit
01515db90f
2
.github/workflows/pre-release.yaml
vendored
2
.github/workflows/pre-release.yaml
vendored
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user