We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0451c20 commit 401014eCopy full SHA for 401014e
.github/workflows/release.yml
@@ -80,6 +80,16 @@ jobs:
80
uses: release-drafter/release-drafter@v5
81
env:
82
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
83
+ with:
84
+ output: CHANGELOG.md
85
+
86
+ - name: Set Release Body
87
+ if: matrix.platform.os == 'ubuntu-latest'
88
+ run: |
89
+ body="$(cat CHANGELOG.md)"
90
+ echo "RELEASE_BODY<<EOF" >> $GITHUB_ENV
91
+ echo "$body" >> $GITHUB_ENV
92
+ echo "EOF" >> $GITHUB_ENV
93
94
- name: Upload binaries to release
95
uses: svenstaro/upload-release-action@v2
@@ -89,7 +99,7 @@ jobs:
99
asset_name: ${{ matrix.platform.asset_name }}
100
tag: ${{ github.ref }}
101
overwrite: true
- body: ${{ steps.changelog.outputs.body }}
102
+ body: ${{ env.RELEASE_BODY }}
103
104
- name: Upload SHA256 checksums
105
0 commit comments