Skip to content

Format plugin.json after release version bump - #8

Merged
devxoul merged 1 commit into
mainfrom
format-plugin-json-on-release
Oct 26, 2026
Merged

devxoul merged 1 commit into
mainfrom
format-plugin-json-on-release

Conversation

@devxoul

@devxoul devxoul commented Oct 26, 2026

Copy link
Copy Markdown
Owner

Summary

The Release workflow cut tag 1.2.1, but a rerun after the failed npm publish failed at lint. The "Bump version" step rewrites .claude-plugin/plugin.json with JSON.stringify, which expands the keywords array that biome keeps inline. A resumed run checks out the tagged commit, so lint sees the expanded file and fails.

Changes

  • Format .claude-plugin/plugin.json with biome right after the version bump
  • Reformat the plugin.json that the 1.2.1 release commit left on main, so lint passes on main again

@typeey typeey Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the changes line by line. Formatting runs after serialization and before the release commit, preventing future tags from carrying the lint-breaking layout. The manifest change preserves its contents. No correctness or regression issues found.

@devxoul
devxoul merged commit 4e9b0b4 into main Oct 26, 2026
3 checks passed
@devxoul
devxoul deleted the format-plugin-json-on-release branch October 26, 2026 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant