From 3eb40b1eefe346a872cfdc20d50aff27ca1d16f5 Mon Sep 17 00:00:00 2001 From: Maschell Date: Sun, 9 Oct 2022 13:06:49 +0200 Subject: [PATCH] Improve the commit messages for nightly releases --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fb5e48f..3a9d9b7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,6 +42,7 @@ jobs: run: | echo REPOSITORY_NAME=$(echo "$GITHUB_REPOSITORY" | awk -F / '{print $2}' | sed -e "s/:refs//") >> $GITHUB_ENV echo DATETIME=$(echo $(date '+%Y%m%d-%H%M%S')) >> $GITHUB_ENV + echo COMMIT_MESSAGES=$(echo "${{join(github.event.commits.*.message, '||END||') }}" | sed -e 's/||END||/\r\n/g') >> $GITHUB_ENV - uses: actions/download-artifact@master with: name: binary @@ -59,7 +60,7 @@ jobs: prerelease: true body: | Not a stable release: - ${{ github.event.head_commit.message }} + ${{ env.COMMIT_MESSAGES }} - name: Upload Release Asset id: upload-release-asset uses: actions/upload-release-asset@v1