Skip to content

fix(ci): overwrite fetched nightly tag before publish#485

Merged
barrettruth merged 1 commit intomainfrom
fix/nightly-release-481
Apr 28, 2026
Merged

fix(ci): overwrite fetched nightly tag before publish#485
barrettruth merged 1 commit intomainfrom
fix/nightly-release-481

Conversation

@barrettruth
Copy link
Copy Markdown
Owner

Problem

The nightly release workflow fetches tags before publishing, so a local nightly tag can still exist after the remote tag is deleted. That makes the publish step fail with fatal: tag nightly already exists on new main releases.

Solution

Force-recreate the local nightly tag before pushing it back to GitHub so the workflow can republish the moving nightly tag after a fresh fetch. Closes #481.

The nightly workflow fetches tags before publishing, so the local `nightly`
tag can still exist even after the remote tag is deleted. Recreate the local
tag with `-f` so publish runs keep working for new main commits.
@barrettruth barrettruth merged commit 74e20dd into main Apr 28, 2026
3 checks passed
@barrettruth barrettruth deleted the fix/nightly-release-481 branch April 28, 2026 03:59
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.

all nightly releases are failing (lol)

1 participant