Skip to content

fix(ci): keep the repository-wide latest badge on the CLI release#5997

Merged
esengine merged 1 commit into
main-v2from
fix/desktop-release-not-latest
Jul 5, 2026
Merged

fix(ci): keep the repository-wide latest badge on the CLI release#5997
esengine merged 1 commit into
main-v2from
fix/desktop-release-not-latest

Conversation

@esengine

@esengine esengine commented Jul 5, 2026

Copy link
Copy Markdown
Owner

Problem

release-desktop.yml's own header says GitHub's repository-wide latest badge is reserved for the CLI (v*) line, but gh release create never passed --latest=false — so whichever line publishes second wins the badge. In the 1.17.0 cycle the desktop pipeline finished after the CLI one and desktop-v1.17.0 stole latest (corrected by hand with gh release edit v1.17.0 --latest).

Fix

Pin desktop stable releases to --latest=false so the badge stays on the v* line regardless of publish order. Canary is unaffected (no GitHub release), and prereleases were already excluded from latest by --prerelease.

Verification

  • actionlint passes.
  • gh release create --latest=false verified against gh CLI docs; runtime path exercises on the next desktop-v* tag.

🤖 Generated with Claude Code

release-desktop.yml's header reserves GitHub's repository-wide "latest"
for the CLI line, but gh release create was not passing --latest=false,
so whichever line published second won the badge — desktop-v1.17.0
stole it this cycle (fixed by hand with gh release edit). Pin desktop
releases to --latest=false so the badge stays on the v* line.
@esengine esengine requested a review from SivanCola as a code owner July 5, 2026 08:07
@github-actions github-actions Bot added v2 Go rewrite (1.x) — main-v2 branch, active development updater Auto-update / installer / release packaging labels Jul 5, 2026
@esengine esengine merged commit 5c18d06 into main-v2 Jul 5, 2026
22 of 23 checks passed
@esengine esengine deleted the fix/desktop-release-not-latest branch July 5, 2026 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

updater Auto-update / installer / release packaging v2 Go rewrite (1.x) — main-v2 branch, active development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant