From 28d8602f064f5fc81b8951358e53018a617e0390 Mon Sep 17 00:00:00 2001 From: Rushaway Date: Wed, 30 Sep 2026 11:24:17 +0200 Subject: [PATCH] fix(ci): delete orphan latest tag before recreating it --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9083de4..1219d5f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,6 +47,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 }}