summaryrefslogtreecommitdiff
path: root/.github/workflows/release.yml
diff options
context:
space:
mode:
authorMatt Pocock <mattpocockvoice@gmail.com>2026-08-05 18:54:44 +0100
committerMatt Pocock <mattpocockvoice@gmail.com>2026-08-05 18:54:44 +0100
commitf3554acafee0f1549d3f8f7881eca0634fd446d0 (patch)
tree6e8eddb8c9c1205e7de571549c8746557bb5662d /.github/workflows/release.yml
parent07999e06b58541362f2f3d6de9e2b108ac28dc52 (diff)
chore: sync the plugin version from package.json on releasesync-plugin-version
`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) <noreply@anthropic.com>
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r--.github/workflows/release.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 5b057b0..b503eff 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -29,7 +29,7 @@ jobs:
- name: Create Version Pull Request
uses: changesets/action@v1
with:
- version: npx changeset version
+ version: npm run version
publish: npx changeset tag
commit: "chore: version skills"
title: "chore: version skills"