From 6a81579c691900a9d687e756f0ae92753a59d1f7 Mon Sep 17 00:00:00 2001 From: Rushaway Date: Wed, 30 Sep 2026 10:50:01 +0200 Subject: [PATCH] fix(ci): delete orphan latest tag before recreating it Co-Authored-By: Claude Opus 5.5 --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7188960..dde0611 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -59,6 +59,8 @@ jobs: run: | set -euo pipefail gh release delete latest --cleanup-tag --yes || true + # The tag may exist without a release, so delete it explicitly + git push origin :refs/tags/latest || true env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}