mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-11-14 14:45:52 -06:00
Update pre-release.yaml
This commit is contained in:
parent
aad0356c28
commit
2b8592a50a
2
.github/workflows/pre-release.yaml
vendored
2
.github/workflows/pre-release.yaml
vendored
@ -101,7 +101,7 @@ jobs:
|
|||||||
id: prepare_body
|
id: prepare_body
|
||||||
run: |
|
run: |
|
||||||
$newChanges = '${{ steps.generate_notes.outputs.body }}'
|
$newChanges = '${{ steps.generate_notes.outputs.body }}'
|
||||||
$escapedChanges = $newChanges -replace '(?m)^\s*(.+)\s*$', '$1' -replace "'", "''" -replace '"', '\"' -replace "`n", "\n" -replace "`r", ""
|
$escapedChanges = $newChanges -replace '(?m)^\s*(.+)\s*$', '$1' -replace "'", '\"' -replace '"', '\"' -replace "`n", "\n" -replace "`r", ""
|
||||||
echo "body=$escapedChanges" | Out-File -Append -Encoding utf8 $env:GITHUB_OUTPUT
|
echo "body=$escapedChanges" | Out-File -Append -Encoding utf8 $env:GITHUB_OUTPUT
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user