From 482e8f3aed46d7f8d094e826d6c6162863adad06 Mon Sep 17 00:00:00 2001 From: takase1121 <20792268+takase1121@users.noreply.github.com> Date: Sat, 29 Jun 2024 22:20:57 +0800 Subject: [PATCH] ci/release: adapt release note generation to the new script --- .github/workflows/release.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 83507b28..a1254bd5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,8 +25,6 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 - with: - fetch-depth: 0 - name: Fetch Version id: tag @@ -45,7 +43,9 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Generate Release Notes - run: bash scripts/generate-release-notes.sh --version ${{ steps.tag.outputs.version }} + env: + GH_TOKEN: ${{ github.token }} + run: bash scripts/generate-release-notes.sh --debug --version ${{ steps.tag.outputs.version }} - name: Create Release id: create_release @@ -55,7 +55,6 @@ jobs: tag: ${{ steps.tag.outputs.version }} draft: true bodyFile: release-notes.md - generateReleaseNotes: true allowUpdates: true build_linux: