From ea9d60e09deb9cf5f076415aa051e0baa2adc262 Mon Sep 17 00:00:00 2001 From: Antony Doyle Date: Sun, 15 Feb 2026 16:02:31 +0000 Subject: [PATCH] remove local tags --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2ea776e..9f1fcf7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -107,7 +107,11 @@ jobs: id: semver run: | set -e - git fetch --tags + # remove any local tags to avoid "would clobber existing tag" errors + for t in $(git tag -l); do + git tag -d "$t" || true + done + git fetch --tags --force || true describe=$(git describe --tags --match "v[0-9]*" --abbrev=7 2>/dev/null || true) if [ -z "$describe" ]; then version="0.1.0"