fix(release): bump the README version badge in lockstep with the release - #341
Merged
Conversation
The v0.19.0 release bumped package.json/plugin.json but not the README shields.io version badge, so it drifted (badge 0.18.0 vs package 0.19.0) — exactly what the #308 guard test and the #309 docsync gate now catch, which would leave main red after every release. Teach release.mjs to rewrite the badge during the version bump and stage it with the other version files, and correct the badge to 0.19.0 for the current release. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SATRHKa6mDHDuirhP6QuwL
Open
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 v0.19.0 release bumped
package.json/plugin.jsonbut not the README shields.io version badge, so it drifted (badge 0.18.0 vs package 0.19.0) — precisely what the #308 guard test and the #309 docsync gate watch for, leavingmainred after every release.release.mjsnow rewrites theversion-X.Y.Zbadge during the version bump and stagesREADME.mdalongside the JSON version filesAC-badgeasserts the badge bump + stagingCloses the recurrence, not just this instance.
🤖 Generated with Claude Code