Repository navigation
chore(cli): the release workflow writes polished CLI-scoped notes to GitHub and the tap - #211
Merged
puncsky merged 2 commits intoNov 21, 2026
Merged
Conversation
…itHub and the tap
…ious release The release job's checkout was depth 1 with no tags (run 44869554706 fetches one commit), so the renderer found no previous bex-cli/v* tag and an empty range, and would publish "No user-facing CLI changes" for every release. Fetch full history there, and make the renderer refuse a shallow clone so a future checkout change fails loudly instead.
puncsky
marked this pull request as ready for review
November 21, 2026 08:16
puncsky
force-pushed
the
bex-agent/update-release-cli-to-write-polished-rel
branch
from
November 21, 2026 08:16
1345560 to
c617902
Compare
puncsky
deleted the
bex-agent/update-release-cli-to-write-polished-rel
branch
November 21, 2026 08:37
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.
Summary
The CLI release workflow published whatever
gh release create --generate-notesproduced. In a monorepo that shares one tag namespace, that was never a CLI changelog: busy releases dumped dozens of backend/dashboard/operator PRs onbexusers, and quiet ones rendered a bare compare link (v0.9.0, v0.6.0) — sometimes against the wrong previous tag entirely (v0.3.3 compared against a kubelet tag, v0.3.0 against a mobile tag).Changes
scripts/bex-cli-release-notes.sh: renders the release message from git history. The range starts at the previous publishedbex-cli/v*tag (never another prefix, never an abandoned orphan tag), counts only the CLI's own inputs (lego/cli/**,scripts/bex-cli-*,scripts/install-bex*,cli-release.yml— the same set the staleness reminder watches), listsfeat/fix/perfplus upstream pin bumps under What's new / Fixes, counts the rest as internal, and always adds install/upgrade/verify guidance plus the compare link.--taprenders the plain-text Homebrew tap commit variant.cli-release.yml: the GitHub release body comes from the renderer on both create and re-run paths (a re-run refreshes notes, never assets); the tap commit carries the same highlights under the unchangedbex $VERSIONsubject.scripts.yml: registers the new self-test and both scripts in the shellcheck gate./releaseskill: documents that the workflow owns the body and what verification should expect.docs/bex-cli.md: one sentence on what release notes contain.scripts/bex-cli-release-notes.test.sh(14 checks): CLI scoping, previous-tag selection, orphan/wrong-prefix handling, pin bumps, empty ranges, tap format, bad inputs.Testing
scripts/bex-cli-release-notes.test.sh: all 14 checks pass (PASS: bex-cli-release-notes).scripts/skill-layout-validate.sh,scripts/cli-release-staleness.test.sh,scripts/github-actions-validate.sh: pass.bash -nclean on both scripts.shellcheck(no binary in the sandbox; both scripts are registered in the CI shellcheck gate) andprettier --check(not installed; the docs edit matches surrounding style).🤖 Opened by a bex agent session (muse) · view session