diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1cd3f34..5a8a62b 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 }}