Skip to content

Enforce plugin version sync between plugin.json and marketplace.json#2

Merged
danOIntellitect merged 2 commits into
mainfrom
keboo/plugin-version-sync
Apr 27, 2026
Merged

Enforce plugin version sync between plugin.json and marketplace.json#2
danOIntellitect merged 2 commits into
mainfrom
keboo/plugin-version-sync

Conversation

@Keboo
Copy link
Copy Markdown
Member

@Keboo Keboo commented Apr 27, 2026

Why

Plugin versions were tracked independently in two places -- each plugins/<name>/plugin.json and the central .github/plugin/marketplace.json -- with nothing preventing them from drifting out of sync. This adds guardrails at both the CI and Copilot-assistance layers.

What changed

CI validation (validate-plugins.yml): new step "Validate plugin versions match marketplace.json" walks every plugins/**/plugin.json, finds the matching entry by name in marketplace.json, and fails the build if the versions differ or a plugin is missing from the registry. Both files must be committed together for the check to pass.

Copilot instructions -- JSON sync (.github/instructions/plugin-version-sync.instructions.md): scoped to plugins/**/plugin.json and .github/plugin/marketplace.json. Tells Copilot to keep the version field in both files in sync whenever either is edited.

Copilot instructions -- plugin editing (.github/instructions/plugin-editing.instructions.md): scoped to plugins/**. Tells Copilot to remind contributors to bump the version before committing, with concrete semver guidance for this content model:

  • Patch -- typo/wording fixes, better examples
  • Minor -- new instruction files, new agents/prompts, expanded keywords
  • Major -- removing/renaming files, fundamental guidance reversals, renaming the plugin

KebooIntelliTect and others added 2 commits April 27, 2026 13:05
- Add CI step to validate plugin.json versions match marketplace.json
- Add Copilot instructions for JSON files to keep versions in sync
- Add Copilot instructions for plugin edits to prompt for version bumps

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add concrete examples for patch, minor, and major version bumps
specific to the plugin content model (instructions, agents, naming).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@danOIntellitect danOIntellitect merged commit 4e87a47 into main Apr 27, 2026
1 check passed
@danOIntellitect danOIntellitect deleted the keboo/plugin-version-sync branch April 27, 2026 20:16
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.

3 participants