fix(release): mark prerelease versions so they do not become latest#1013
Merged
Conversation
Versioned releases used gh defaults (make_latest=legacy), risking a -test/-beta/-rc tag being promoted to the GitHub Latest pointer. Versions on a prerelease channel (-test/-alpha/-beta/-rc) now get --prerelease --latest=false. Co-authored-by: npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7 <dcfd242e557282d7a1e2cf2e6877522682f1e5c6156dc92ca7d90eaedd3b0f95@sprout-oss.stage.blox.sqprod.co> Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
7c18f6b to
f313f08
Compare
This was referenced Jun 12, 2026
wpfleger96
added a commit
that referenced
this pull request
Jun 12, 2026
git describe --match 'v[0-9]*' matched the throwaway v0.0.0-test.1 tag, causing LAST_TAG to resolve to it instead of v0.3.18. The v0.3.19 changelog then started from that commit, silently dropping all commits merged between v0.3.18 and the test tag. Add --exclude '*-*' so stable vX.Y.Z tags are the only changelog anchors. Prerelease tags (per semver, any -suffix) are never anchors. The test tag stays on origin as a live fixture confirming this fix holds. Follows up on #1013.
tlongwell-block
pushed a commit
that referenced
this pull request
Jun 13, 2026
* origin/main: (33 commits) fix(desktop): make Windows release compile cleanly (#1029) Add production Docker Compose bundle (#985) feat(profile): show active turn badges on agent profile panel and popover (#1026) chore(release): release version 0.3.20 (#1027) fix(release): resolve Windows sidecar path and Linux AppImage updater format (#1024) chore(release): release version 0.3.19 (#1014) fix(release): ignore prerelease tags in changelog generation (#1021) fix: repair main build after cross-PR merge skew (#1020) feat(agents): show per-turn duration and prune dead turns within ~25s of host crash (#1017) fix(release): replace hermit with native tool setup on Windows job (#1018) feat(acp): surface error-class outcomes to the activity feed only, never the channel (#1010) fix(desktop): migrate Sprout workspace storage (#1016) feat(auth): force token refresh on rejected token (401/403), never the browser (#1015) fix(release): mark prerelease versions so they do not become latest (#1013) feat(acp): implement systemPrompt with protocol version gating (#981) fix(release): update repository name check from block/sprout to block/buzz (#1012) feat(release): all-OS desktop builds + universal auto-update manifest (#1011) Add relay disconnect UX: friendly errors, reconnect, cached identity (#1004) feat(agents): add active turn indicators to Agents Menu (#1005) ci: add fork guards to docker, release, and auto-tag workflows (#1007) ... Co-authored-by: npub1t2tgm7d8f995uqvmnm8h88sg3wnpp9a5xysjf6dg3tjmgt3ltulqdp8ehr <5a968df9a7494b4e019b9ecf739e088ba61097b4312124e9a88ae5b42e3f5f3e@sprout-oss.stage.blox.sqprod.co> Signed-off-by: npub1t2tgm7d8f995uqvmnm8h88sg3wnpp9a5xysjf6dg3tjmgt3ltulqdp8ehr <5a968df9a7494b4e019b9ecf739e088ba61097b4312124e9a88ae5b42e3f5f3e@sprout-oss.stage.blox.sqprod.co>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The versioned
gh release createcall in.github/workflows/release.ymlrelied onghdefaults (make_latest=legacy), so GitHub decided "Latest" by created-date and semver comparison. A-test/-beta/-rctag (e.g.0.0.0-test.1) could be promoted to the public Latest release pointer because the tag was never flagged as a prerelease.This guards the versioned release: any version whose semver contains a hyphen is treated as a prerelease and gets
--prerelease --latest=false, so GitHub never promotes it. Stable versions (no hyphen) keep the current behavior with no extra flags.A bash array is used instead of inline
$(...)so the stable-release path expands to nothing — an empty$()would leave a stray empty argument thatghmay reject.The two
buzz-desktop-latestrolling-release calls are unchanged; they were already--prerelease.