File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -25,10 +25,24 @@ jobs:
2525 cmake -DMADDY_CREATE_PACKAGE=ON ..
2626 make maddy_package
2727
28+ - name : Get current tag message
29+ id : tag-message
30+ run : |
31+ TAG_NAME=${GITHUB_REF#refs/tags/}
32+ TAG_MESSAGE=$(git for-each-ref refs/tags/$TAG_NAME --format='%(contents)')
33+ echo "message<<EOF" >> $GITHUB_OUTPUT
34+ echo "$TAG_MESSAGE" >> $GITHUB_OUTPUT
35+ echo "EOF" >> $GITHUB_OUTPUT
36+
2837 - name : create release
2938 uses : svenstaro/upload-release-action@v2
3039 with :
3140 repo_token : ${{ secrets.GITHUB_TOKEN }}
3241 file : build/maddy-src.zip
3342 tag : ${{ github.ref }}
34- body : " You can find all changes of this release in the [changelog](https://github.com/progsource/maddy/blob/master/CHANGELOG.md)"
43+ body : |
44+ ${{ steps.tag-message.outputs.message }}
45+
46+ ---
47+
48+ You can find all changes of this release in the [changelog](https://github.com/progsource/maddy/blob/master/CHANGELOG.md)
You can’t perform that action at this time.
0 commit comments