From b88323a120bac3bc860b0544f33ee91eae0d576c Mon Sep 17 00:00:00 2001 From: Jian Qiu Date: Mon, 25 Sep 2023 22:14:13 +0800 Subject: [PATCH] Update release action Signed-off-by: Jian Qiu --- .github/workflows/go-release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/go-release.yml b/.github/workflows/go-release.yml index 03d344175..61897ff1f 100644 --- a/.github/workflows/go-release.yml +++ b/.github/workflows/go-release.yml @@ -103,11 +103,11 @@ jobs: - name: generate changelog run: | echo "# Addon Framework ${{ needs.env.outputs.RELEASE_VERSION }}" > /home/runner/work/changelog.txt - echo "- See the [CHANGELOG](https://github.com/open-cluster-management-io/addon-framework/blob/main/CHANGELOG/CHANGELOG-${{ needs.env.outputs.MAJOR_RELEASE_VERSION }}.md) for more details." >> /home/runner/work/changelog.txt - echo "- The released image is quay.io/open-cluster-management/addon-examples:${{ needs.env.outputs.RELEASE_VERSION }}" >> /home/runner/work/changelog.txt - name: publish release - uses: softprops/action-gh-release@v0.1.5 + uses: softprops/action-gh-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: body_path: /home/runner/work/changelog.txt + draft: true + generate_release_notes: true