From fc350db6c69df754ef4e9a12bf2b739a460ce3a1 Mon Sep 17 00:00:00 2001 From: rustmailer Date: Fri, 18 Jul 2025 16:23:21 +0800 Subject: [PATCH] chore(ci): update git-cliff to v3 and fix changelog generation for releases --- .github/workflows/release.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a08c788..42cf2b5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -138,13 +138,14 @@ jobs: find artifacts -type f -name "*.zip" -exec mv {} artifacts/ \; find artifacts -type f -name "*.tar.gz" -exec mv {} artifacts/ \; - - name: Generate changelog with git-cliff + - name: Generate a changelog id: changelog - uses: orhun/git-cliff-action@v2 + uses: orhun/git-cliff-action@v3 with: - args: --tag ${{ github.ref_name }} + config: cliff.toml + args: --tag ${{ github.ref_name }} env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_REPO: ${{ github.repository }} - name: Publish GitHub Release uses: softprops/action-gh-release@v1