<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mattpocock-skills.git/scripts/sync-plugin-version.mjs, branch sync-plugin-version</title>
<subtitle>Engineering skills for coding agents
</subtitle>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/mattpocock-skills.git/'/>
<entry>
<title>chore: sync the plugin version from package.json on release</title>
<updated>2026-08-05T17:54:44+00:00</updated>
<author>
<name>Matt Pocock</name>
<email>mattpocockvoice@gmail.com</email>
</author>
<published>2026-08-05T17:54:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/mattpocock-skills.git/commit/?id=f3554acafee0f1549d3f8f7881eca0634fd446d0'/>
<id>f3554acafee0f1549d3f8f7881eca0634fd446d0</id>
<content type='text'>
`npm run version` now runs `changeset version` and then
`scripts/sync-plugin-version.mjs`, which copies the new version into
`.claude-plugin/plugin.json`. The release workflow calls `npm run version`
instead of `npx changeset version`, so the version PR carries both files.

Also closes the drift this replaces: `plugin.json` was manually bumped to
1.2.1 while `package.json` stayed at 1.2.0. `package.json` moves up to
1.2.1 so the plugin version never goes backwards.

`npm run check-plugin-version` reports drift without writing.

Co-Authored-By: Claude Opus 5 (1M context) &lt;noreply@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`npm run version` now runs `changeset version` and then
`scripts/sync-plugin-version.mjs`, which copies the new version into
`.claude-plugin/plugin.json`. The release workflow calls `npm run version`
instead of `npx changeset version`, so the version PR carries both files.

Also closes the drift this replaces: `plugin.json` was manually bumped to
1.2.1 while `package.json` stayed at 1.2.0. `package.json` moves up to
1.2.1 so the plugin version never goes backwards.

`npm run check-plugin-version` reports drift without writing.

Co-Authored-By: Claude Opus 5 (1M context) &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
