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 a218453 commit b614180
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/pre-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b614180

Please sign in to comment.