diff options
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/release.yml | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1438a2c..4f62c7b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -118,6 +118,11 @@ jobs: name: windows-dist path: upload + - name: Format release note from CHANGELOG.md + run: | + version="$GITHUB_REF_NAME" + sed -n "/^## \[DPIBreak ${version}\]/,/^## /{/^## /d;p}" CHANGELOG.md > auto_notes.md + - name: Format download link run: | { @@ -130,14 +135,6 @@ jobs: echo } >> auto_notes.md - - name: Generate base release note from github api - run: | - gh api repos/${{ github.repository }}/releases/generate-notes \ - -f tag_name=${{ github.ref_name }} \ - -q .body >> auto_notes.md - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Format and append buildinfo run: | { |
