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
a21845327b
commit
b6141808af
5
.github/workflows/pre-release.yaml
vendored
5
.github/workflows/pre-release.yaml
vendored
@ -100,10 +100,11 @@ jobs:
|
|||||||
- name: Prepare Release Body
|
- name: Prepare Release Body
|
||||||
id: prepare_body
|
id: prepare_body
|
||||||
run: |
|
run: |
|
||||||
$newChanges = "${{ steps.generate_notes.outputs.body }}"
|
$newChanges = '${{ steps.generate_notes.outputs.body }}'
|
||||||
$formattedChanges = "Changes since ${{ env.LATEST_TAG }}:`n`n$newChanges"
|
$formattedChanges = "Changes since ${{ env.LATEST_TAG }}:`n`n$newChanges"
|
||||||
|
$escapedChanges = $formattedChanges -replace '"', '\"'
|
||||||
echo "body<<EOF" >> $env:GITHUB_OUTPUT
|
echo "body<<EOF" >> $env:GITHUB_OUTPUT
|
||||||
echo "$formattedChanges" >> $env:GITHUB_OUTPUT
|
echo "$escapedChanges" >> $env:GITHUB_OUTPUT
|
||||||
echo "EOF" >> $env:GITHUB_OUTPUT
|
echo "EOF" >> $env:GITHUB_OUTPUT
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user