Skip to content

fix(ci): delete orphan latest tag before recreating it - #12

Merged
Rushaway merged 1 commit into
masterfrom
fix/ci-orphan-latest-tag
Sep 30, 2026
Merged

Rushaway merged 1 commit into
masterfrom
fix/ci-orphan-latest-tag

Conversation

@Rushaway

Copy link
Copy Markdown
Member

The latest tag can exist on the remote without an associated release. In that case gh release delete --cleanup-tag fails with "release not found" (silenced by || true), the tag is never removed, and rickstaa/action-create-tag fails because the tag already exists.

This deletes the tag explicitly with git push origin :refs/tags/latest after the release deletion.

@Rushaway
Rushaway merged commit c6a743c into master Sep 30, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant