[CI > Release] Add commit hash to body

This commit is contained in:
Ducko 2022-02-15 19:54:32 +00:00
parent 99a20ceca7
commit 7a968bcb6d

View file

@ -102,7 +102,7 @@ jobs:
git tag nightly
git push origin nightly
gh release delete ${{ env.VERSION }} -y
gh release create ${{ env.VERSION }} -t "Nightly" -n "$(git log -1 --pretty=%B)" ${{ env.FILES }}
gh release create ${{ env.VERSION }} -t "Nightly" -n "$(git rev-parse HEAD | cut -c 0-7) | $(git log -1 --pretty=%B)" ${{ env.FILES }}
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
VERSION: 'nightly'