Repository navigation
Bump status-bar to 0.2.0; refuse pushes that change a mod without a version bump - #12
Merged
Merged
Conversation
…t a bump claude plugin update compares versions, so the auto-compact gauge from #11 never reached an installed copy: status-bar was still 0.1.0. The pre-push hook now fails when a mod differs from origin/main (tests aside) with the same version. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
What changed
status-bargoes from 0.1.0 to 0.2.0, soclaude plugin update status-barinstalls the auto-compact gauge from Measure the status bar's context gauge against the auto-compact point #11 (context gauge measured against the auto-compact point).origin/main(changes to itstests/aside) must have a differentversionin its.claude-plugin/plugin.json. A mod thatorigin/maindoesn't have yet passes.Why
After #11 merged,
claude plugin update status-barreported "already at the latest version (0.1.0)" and installed nothing: it compares versions, and #11 didn't bump it. The hook now catches that before the push instead of after the merge.For the reviewer
MSYS2_ARG_CONV_EXCL='*'on the twogit … origin/main:<path>calls. Without it, Git Bash rewrote the argument as a Windows path list,git cat-filefailed, and the check passed every mod. The variable has no effect outside MSYS.hooks/without a bump was refused with the message; a change to cache-alert'stests/only passed; this branch passed. All the hook's other checks passed on push.🤖 Generated with Claude Code