mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-12-21 21:41:29 -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
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user