chore(ci): update git-cliff to v3 and fix changelog generation for releases

This commit is contained in:
rustmailer
2025-07-18 16:23:21 +08:00
parent deaf36c626
commit fc350db6c6
+5 -4
View File
@@ -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