fix(plugin): gate releases on the manifest version, and bump to 1.0.1 #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/plugin-version-gate"
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?
plugin.json has read 1.0.0 since
07576bb, the only commit that ever touched it. The plugin cache is keyed on that string, so v0.1.1 and v0.1.2 shipped to no installed copy, mine included.Bumps to 1.0.1, which carries the 1h cache-write fix out. Verified end to end in a throwaway config dir: install at 1.0.0, bump, 'claude plugin update burnrate@burnrate' reports 1.0.0 -> 1.0.1 and writes a new version directory beside the old one. No uninstall, nothing removed by hand.
The old test asserted version was truthy, which passes forever at 1.0.0. It now asserts a v* tag on HEAD names the version committed at HEAD. Since a test only helps when run, .githooks/pre-push refuses the tag push itself on a mismatch, and a case fails if the hook disappears or loses its execute bit. Hook proven against a scratch remote: mismatch blocked, match accepted, ship-without-bump blocked, deletions allowed.