Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
marco-calautti authored Dec 27, 2023
1 parent 728b53d commit 0c401f3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,16 @@ jobs:

- if: contains(github.ref, 'refs/tags/')
name: Get Tag Message
run: echo "$(git for-each-ref refs/tags/${{github.ref_name}} --format='%(contents)')" >> release_notes.txt
run: |
cd ${{github.workspace}}
echo "$(git for-each-ref refs/tags/${{github.ref_name}} --format='%(contents)')" >> "${{github.workspace}}/release_notes.txt"
- if: contains(github.ref, 'refs/tags/')
name: Prepare Release
uses: softprops/action-gh-release@v1
with:
name: Delta Patcher ${{ github.ref_name }}
body_path: release_notes.txt
body_path: ${{github.workspace}}/release_notes.txt
draft: false
prerelease: false
generate_release_notes: false
Expand Down

0 comments on commit 0c401f3

Please sign in to comment.