From 608337487bf590767b844fbd913b2eff54fcdff8 Mon Sep 17 00:00:00 2001 From: Yuwei Ba Date: Sun, 29 Sep 2024 13:46:31 +1000 Subject: [PATCH] Update ci.yml Signed-off-by: Yuwei Ba --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bc4839885..61cedf13a 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