Skip to content

Commit

Permalink
Concluded to just make use of body_path
Browse files Browse the repository at this point in the history
  • Loading branch information
CEKlopfenstein committed May 18, 2024
1 parent 8ac9d61 commit b86d792
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,12 @@ jobs:
MAJOR=$(($LAST_MAJOR+1))
MINOR=$(git log --oneline HEAD...$LAST_VERSION_TAG|wc -l)
echo "TAG_NAME=$YEAR.$MAJOR.$MINOR-pre" >> $GITHUB_OUTPUT
printf "CHANGE=\"$(sed -E '/---/q;/^## .*$/d' CHANGELOG.md|sed '/^---$/d')\"\n" >> $GITHUB_OUTPUT
- name: Release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ steps.version.outputs.TAG_NAME }}
name: Prerelease - ${{ steps.version.outputs.TAG_NAME }}
body: ${{ steps.version.outputs.CHANGE }}
body_path: CHANGELOG.md
draft: true
make_latest: false
prerelease: true
Expand Down

0 comments on commit b86d792

Please sign in to comment.