File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 3535 - name : Extract Changelog for Current Release
3636 id : extract_changelog
3737 run : |
38- content=$(sed -n "/^## \[${{ env.VERSION }}\] - /,/^## \[.*\] - /p" CHANGELOG.md | tail -n +2 | head -n -1 | sed ':a;N;$!ba;s/\\n/\n/g' )
39- echo "RELEASE_NOTES= $content" >> $GITHUB_ENV
38+ content=$(sed -n "/^## \[${{ env.VERSION }}\] - /,/^## \[.*\] - /p" CHANGELOG.md | tail -n +2 | head -n -1)
39+ echo "::set-output name=release_notes:: $content"
4040
41+ - name : Debugging Release Notes
42+ run : echo "${{ steps.extract_changelog.outputs.release_notes }}"
43+
4144
4245
4346 - name : Create GitHub Release
4851 with :
4952 tag_name : ${{ github.ref }}
5053 release_name : ${{ github.ref }}
51- body : ${{ env.RELEASE_NOTES }}
54+ body : ${{ steps.extract_changelog.outputs.release_notes }}
55+
5256
5357 - name : Attach JAR to Release
5458 uses : actions/upload-release-asset@v1
You can’t perform that action at this time.
0 commit comments