diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bc483988..61cedf13 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -319,6 +319,12 @@ jobs: ./clash-x86_64-unknown-linux-musl -v >> version.txt cat version.txt + - name: Clean git tag for git-cliff + if: startsWith(github.ref, 'refs/tags/v') + run: | + # Delete latest tag (for git-cliff) + git tag -d latest || true + - name: Generate a changelog uses: orhun/git-cliff-action@main id: git-cliff