Skip to content

Commit e3fbad5

Browse files
committed
fix: sync plugin.json version with pyproject.toml on release
The release workflow bumped pyproject.toml but left plugin.json at 1.0.0, preventing Claude Code from detecting plugin updates. Now both files are bumped together and committed in the same release step.
1 parent 9c98771 commit e3fbad5

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "memory-access",
3-
"version": "1.0.0",
3+
"version": "0.1.14",
44
"description": "Teaches Claude how to use the memory-access MCP server for persistent knowledge storage, retrieval, and graph traversal. Includes PreCompact hook to preserve insights before context compaction.",
55
"author": {
66
"name": "Emma Hyde"

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ jobs:
6666
# Update pyproject.toml in place
6767
sed -i "s/^version = \".*\"/version = \"$NEW_VERSION\"/" pyproject.toml
6868
69+
# Update plugin.json version to match
70+
sed -i "s/\"version\": \".*\"/\"version\": \"$NEW_VERSION\"/" .claude-plugin/plugin.json
71+
6972
# Verify the update
7073
VERIFY_VERSION=$(grep '^version = ' pyproject.toml | sed 's/version = "\(.*\)"/\1/')
7174
if [ "$VERIFY_VERSION" != "$NEW_VERSION" ]; then
@@ -82,7 +85,7 @@ jobs:
8285
git config user.name "github-actions[bot]"
8386
git config user.email "github-actions[bot]@users.noreply.github.com"
8487
85-
git add pyproject.toml
88+
git add pyproject.toml .claude-plugin/plugin.json
8689
git commit -m "chore: bump version to ${{ steps.bump_version.outputs.new_version }} [skip release]"
8790
8891
# Get the commit SHA for tagging

0 commit comments

Comments
 (0)