From f041f8b584a7f7523b8c82fbb3f4646dab4cd450 Mon Sep 17 00:00:00 2001 From: Oj Date: Sun, 30 Jan 2022 19:45:46 +0000 Subject: [PATCH] [CI > Build] Use commit msg as release body --- .github/workflows/release_nightly.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release_nightly.yml b/.github/workflows/release_nightly.yml index d7d2088..4235e5f 100644 --- a/.github/workflows/release_nightly.yml +++ b/.github/workflows/release_nightly.yml @@ -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'