From ffac775d1930401d09726a6a05315b4fc251a97b Mon Sep 17 00:00:00 2001 From: hz Date: Sun, 3 Mar 2024 08:46:14 +0800 Subject: [PATCH] updated gh actions scripts - improved and added `generate_release_notes` flag --- .github/workflows/go.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 91f7d76..8c39ced 100755 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -165,18 +165,18 @@ jobs: uses: softprops/action-gh-release@v1 if: env.ENABLE_Simple_Release != 0 with: + generate_release_notes: true + repo_token: ${{ secrets.GITHUB_TOKEN }} + tag: ${{ github.ref }} + overwrite: true + file_glob: true # body_path: ${{ github.workspace }}-CHANGELOG.txt # body_path: RELNOTES.md # files: | # LICENSE # RELNOTES.md - repo_token: ${{ secrets.GITHUB_TOKEN }} - tag: ${{ github.ref }} - overwrite: true - file_glob: true # body: | # ${{ steps.read_release_notes_0.outputs.RELEASE_BODY }} - generate_release_notes: true release-build: permissions: write-all # this is the FIX