From 137c28790449633488303b247e52f87298ae37d9 Mon Sep 17 00:00:00 2001 From: Marco Calautti Date: Wed, 27 Dec 2023 22:25:32 +0100 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ffd20a0..6f73192 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,19 +26,14 @@ jobs: - if: contains(github.ref, 'refs/tags/') name: Get Tag Message - id: tag_message - run: | - cd ${{github.workspace}} - echo 'TAG_MESSAGE<> $GITHUB_OUTPUT - echo "$(git for-each-ref refs/tags/${{github.ref_name}} --format='%(contents)')" >> $GITHUB_OUTPUT - echo 'EOF' >> $GITHUB_OUTPUT - + run: echo "$(git for-each-ref refs/tags/${{github.ref_name}} --format='%(contents)')" >> 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: ${{ steps.tag_message.outputs.TAG_MESSAGE }} + body_path: release_notes.txt draft: false prerelease: false generate_release_notes: false