Skip to content

Commit

Permalink
Merge pull request #28 from marco-calautti/marco-calautti-patch-4
Browse files Browse the repository at this point in the history
Another tentative fix for autorelease message
  • Loading branch information
marco-calautti authored Dec 27, 2023
2 parents 728b53d + 0c401f3 commit 3be2b92
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 3be2b92

Please sign in to comment.