From eb6bdf7d412189dd18f36e8491e4701590f5f1c6 Mon Sep 17 00:00:00 2001 From: Jian Qiu Date: Mon, 25 Sep 2023 10:53:33 +0800 Subject: [PATCH] Update release file (#284) Signed-off-by: Jian Qiu --- .github/workflows/release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f476456df..2b46915f4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,10 +22,11 @@ jobs: - name: generate changelog run: | echo "# Open Cluster Management API $RELEASE_VERSION" > /home/runner/work/changelog.txt - echo "- See the [CHANGELOG](https://github.com/open-cluster-management-io/api/blob/${RELEASE_VERSION}/CHANGELOG/CHANGELOG-${MAJOR_RELEASE_VERSION}.md) for more details." >> /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