ci/release: adapt release note generation to the new script

This commit is contained in:
takase1121 2024-06-29 22:20:57 +08:00 committed by Takase
parent 0129e9330f
commit 482e8f3aed
1 changed files with 3 additions and 4 deletions

View File

@ -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: