Skip to content

fix: claude plugin update 升级命令失效——同步 marketplace.json 版本号并防止复发#39

Open
Patrick5D wants to merge 2 commits into
dontbesilent2025:mainfrom
Patrick5D:fix/marketplace-version-sync
Open

fix: claude plugin update 升级命令失效——同步 marketplace.json 版本号并防止复发#39
Patrick5D wants to merge 2 commits into
dontbesilent2025:mainfrom
Patrick5D:fix/marketplace-version-sync

Conversation

@Patrick5D

Copy link
Copy Markdown

关联 Issue

Closes #38

问题

.claude-plugin/marketplace.json 里所有 plugins[].version 从发布至今一直是 "1.0.0",从未随版本迭代更新。

Claude Code 的升级检查只对比这个字段,导致 claude plugin update 永远输出「已是最新版本」,用户拿不到任何新 skill。

改动

存量修复 — 把 24 个插件的 version1.0.0 统一改为当前版本 2.15.1

防止复发 — 新增 .github/workflows/sync-plugin-versions.yml:每次 VERSION 文件变更时自动同步所有 plugins[].version,无需手动维护

验证

修复后执行升级命令将正确检测到版本差异并完成更新。

…revent regression

All plugins[].version were hardcoded as "1.0.0" and never updated on release,
causing `claude plugin update` to always report "already at latest version".

- Bump all 24 plugin versions to 2.15.1 (current VERSION)
- Add .github/workflows/sync-plugin-versions.yml to auto-sync on future releases

Closes dontbesilent2025#38
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.

bug: claude plugin update 永远显示"已是最新版本",新 skill 拿不到

1 participant