From f5bd6480c6343c297a717cb087105b0a53cc6e74 Mon Sep 17 00:00:00 2001 From: "Abd El-Twab M. Fakhry" Date: Sat, 16 Mar 2024 08:27:18 +0200 Subject: [PATCH] Try another releaser --- .github/workflows/release.yaml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 7d9cd11..323a06f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -82,10 +82,15 @@ jobs: run: | go build -o "$BINARY_NAME" -v -ldflags "-H windowsgui -s -w" + - name: Release Notes + run: + git log $(git describe HEAD~ --tags --abbrev=0)..HEAD --pretty='format:* %h %s%n * %an <%ae>' --no-merges >> ".github/RELEASE-TEMPLATE.md" + - name: Release with Notes - uses: ncipollo/release-action@v1 + uses: softprops/action-gh-release@v1 with: - artifacts: ${{ env.BINARY_NAME }} - name: ${{ github.ref_name }} - makeLatest: true - generateReleaseNotes: true \ No newline at end of file + body_path: ".github/RELEASE-TEMPLATE.md" + draft: true + files: ${{ env.BINARY_NAME }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file