From 165bd8db7cf4c5786b7d8c0fb8a6c6ce6f1f11a8 Mon Sep 17 00:00:00 2001 From: Shrey Gupta Date: Tue, 5 Mar 2024 09:29:15 +0530 Subject: [PATCH] fix(action): generate release notes in release (#2279) --- .github/workflows/create-release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 619e57cac..f0dc8d0fa 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -16,14 +16,16 @@ jobs: echo "VERSION=$(echo ${{ github.ref }} | sed -e 's/^refs\/tags\///')" >> $GITHUB_ENV - name: Create release id: create_release - uses: actions/create-release@v1 + uses: softprops/action-gh-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: + token: ${{ secrets.GITHUB_TOKEN }} tag_name: ${{ github.ref }} - release_name: Release ${{ env.VERSION }} + name: Release ${{ env.VERSION }} draft: false prerelease: false + generate_release_notes: true - name: Sync core repo dependency version uses: peter-evans/repository-dispatch@v2 with: