fix(release): make nightlies immutable per commit #134
No reviewers
Labels
No labels
breaking-change
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
skip-release-notes
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/tmux-mosaic!134
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/nightly-immutable-tags"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The nightly workflow only had a single mutable
nightlytag and prerelease. That made nightlies lose per-commit provenance, and it also left the workflow vulnerable to tag recreation failures likefatal: tag 'nightly' already existswhen the local alias tag was still present.Solution
Publish an immutable nightly tag and prerelease for each dev commit using
nightly-<version>-<shortsha>, keepnightlyas a moving alias that points at the same commit, and teach the workflow to skip only when both the immutable and alias releases already match the target SHA. The release helper now generates deterministic nightly tag names, the workflow deletes any stale localnightlytag before recreating the alias, and the release-process doc explains the new model. Local verification covereddirenv exec /home/barrett/dev/tmux-mosaic just test-one 'release-version:',direnv exec /home/barrett/dev/tmux-mosaic just format,direnv exec /home/barrett/dev/tmux-mosaic just lint, and an isolated rerun of the known noisydrag-resize in top orientation syncs mfact from heighttest after one unrelated parallel-suite flake.