Repository navigation
Commit bca1bba
fix(plugin): let each pinned framework tag install its own plugin (#232)
* ci(release): fail a release whose plugin version does not match its tag
Claude Code caches a plugin by the version in plugin.json, so a release
that forgets to bump it leaves installed plugins on old content. The new
Release workflow checks the version when a draft is saved or a release is
published. On a mismatch it opens a PR that sets the version through the
contents API, so GitHub signs the commit, links that PR in the job
summary, and fails. When Actions may not create PRs, it links a compare
page that opens the PR in one click.
make plugin-version VERSION=<tag> sets the version for the PR made before
tagging, and the AI instructions add this step to the release rules.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(plugin): let each pinned framework tag install its own plugin
Claude Code caches a plugin by the version in plugin.json, and consumers
pin the marketplace ref to a framework tag. A version that a release
forgets to change keeps pinned users on old skills, and a version bumped
after the tag never reaches the tag at all. Without a version, Claude
Code caches by commit, so each tag installs exactly the plugin it
shipped. This replaces the release workflow and make target, which
could only check the version after the tag existed, because GitHub
runs no workflow for a draft release.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>1 parent c23b80c commit bca1bba
3 files changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
| 128 | + | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
135 | 138 | | |
136 | 139 | | |
137 | 140 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
0 commit comments