[CI > Build] Use commit msg as release body

This commit is contained in:
Ducko 2022-01-30 19:45:46 +00:00
parent 8b5dd46818
commit f041f8b584

View file

@ -44,7 +44,7 @@ jobs:
git tag nightly
git push origin nightly
gh release delete ${{ env.VERSION }} -y
gh release create ${{ env.VERSION }} -t "${{ env.NAME }}" -n "${{ env.BODY }}" ${{ env.FILES }}
gh release create ${{ env.VERSION }} -t "${{ git log -1 --pretty=%B }}" -n "${{ env.BODY }}" ${{ env.FILES }}
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
VERSION: 'nightly'