From 739d6e43551b4e1b28e0e711d272f80f62d34c88 Mon Sep 17 00:00:00 2001 From: DanielSvoboda Date: Thu, 26 Sep 2024 12:31:47 -0300 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e0a166459..acaa1b7cd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -402,6 +402,10 @@ jobs: fi done + - name: Get last commit title from main + id: get_commit_title + run: echo "title=$(git log origin/main -1 --pretty=%s)" >> $GITHUB_ENV + - name: Create Pre-Release on GitHub id: create_release uses: ncipollo/release-action@v1 @@ -411,7 +415,7 @@ jobs: tag: "Pre-release-shadPS4-${{ needs.get-info.outputs.date }}-${{ needs.get-info.outputs.shorthash }}" draft: false prerelease: true - body: ${{ github.event.head_commit.message }} + body: "${{ env.title }}" artifacts: ./artifacts/*.zip - name: Get current pre-release information