From 8dcc388e5e7a121ae319e1e83643f27edada1ba9 Mon Sep 17 00:00:00 2001 From: rustmailer Date: Fri, 18 Jul 2025 17:01:03 +0800 Subject: [PATCH] chore: update release workflow to use git-cliff v3 and action-gh-release v2 --- .github/workflows/release.yml | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 42cf2b5..6b21b4e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -138,22 +138,11 @@ jobs: find artifacts -type f -name "*.zip" -exec mv {} artifacts/ \; find artifacts -type f -name "*.tar.gz" -exec mv {} artifacts/ \; - - name: Generate a changelog - id: changelog - uses: orhun/git-cliff-action@v3 - with: - config: cliff.toml - args: --tag ${{ github.ref_name }} - env: - GITHUB_REPO: ${{ github.repository }} - - name: Publish GitHub Release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: - tag_name: ${{ github.ref_name }} - name: "rustmailer ${{ github.ref_name }}" - body: ${{ steps.changelog.outputs.content }} - files: | - artifacts/* - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + name: "Release ${{ github.ref_name }}" + generate_release_notes: true + files: | + artifacts/* +