From 63b795a6d349d602c7c26e2efe3c1a569a149aed Mon Sep 17 00:00:00 2001 From: Rushaway Date: Wed, 30 Sep 2026 11:34:54 +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 eed36a7..492cc0d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,6 +55,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 }}