Skip to content

Commit

Permalink
Use release_notes file itself instead of environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
kurtbahartr committed Dec 10, 2024
1 parent 01d61d0 commit 7e34f94
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,21 +70,13 @@ jobs:
git push origin $TAG_NAME
echo "TAG_NAME=$TAG_NAME" >> $GITHUB_ENV
- name: Output release notes
id: output_release_notes
if: ${{ env.NEW_RELEASE == '1' }}
run: |
echo "RELEASE_NOTES<<EOF" >> $GITHUB_ENV
cat release_notes.md >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
- name: Create release
if: ${{ env.NEW_RELEASE == '1' }}
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ env.TAG_NAME }}
release_name: ${{ env.TAG_NAME }} # No "Release" prefix here
body: ${{ env.RELEASE_NOTES }}
body_path: release_notes.md
draft: false
prerelease: false
files: STDU-GH.iso
Expand Down

0 comments on commit 7e34f94

Please sign in to comment.