From 7a968bcb6d43eeead44d5c98ed5792a301523074 Mon Sep 17 00:00:00 2001 From: Oj Date: Tue, 15 Feb 2022 19:54:32 +0000 Subject: [PATCH] [CI > Release] Add commit hash to body --- .github/workflows/nightly.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 8006e07..0340a44 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -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'