From 8884f209fa1cb007a336641f698d3ad3acd34469 Mon Sep 17 00:00:00 2001 From: OpenWaygate <27287694+OpenWaygate@users.noreply.github.com> Date: Sun, 2 Aug 2026 00:36:39 +0800 Subject: [PATCH] :construction_worker: Ignore prerelease tags in stable changelog --- .github/workflows/publish.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 39fd151..8400c5d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -20,6 +20,10 @@ jobs: - uses: actions/checkout@v7 with: fetch-depth: 0 + - name: Ignore prerelease tags + if: "!contains(github.ref_name, '-')" + run: | + git tag -l | grep -E '\-dev|\-rc|\-beta|\-alpha' | xargs -r git tag -d - uses: actions/setup-go@v6 with: go-version-file: ./go.mod