Commit 6862fa8
Fix marketplace.json version update for pre-releases (#303)
* Fix MCP version test to allow release-pinned package names
The release process pins the version in .mcp.json args (e.g.
"deepwork==0.10.0a1"), which broke the exact-match assertion.
Use startswith instead so the test passes for both unpinned
and version-pinned args.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Fix: update marketplace.json version for pre-releases too
The marketplace version update was gated to stable-only, so
pre-release builds pushed to the pre-release branch had a stale
version in .claude-plugin/marketplace.json. This meant users
installing via /plugin marketplace add ...#pre-release got
mismatched versions.
Changes:
- Remove the is_prerelease == false guard on the marketplace update step
- Use plugin_version (semver) instead of pypi_version for consistency
with plugin.json (no behavior change for stable where they're equal)
- Add marketplace.json to the pre-release git add
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Update test for mcp_command requirement validation
* Clarify requirement in test_mcp_command_is_uvx_deepwork_serve
Updated comment to clarify requirement for test.
* Fix ruff formatting in test_claude_plugin.py
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 1f7838a commit 6862fa8
2 files changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
218 | | - | |
| 218 | + | |
219 | 219 | | |
220 | | - | |
221 | 220 | | |
222 | | - | |
| 221 | + | |
223 | 222 | | |
224 | 223 | | |
225 | 224 | | |
| |||
300 | 299 | | |
301 | 300 | | |
302 | 301 | | |
| 302 | + | |
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
95 | 97 | | |
96 | 98 | | |
97 | 99 | | |
98 | 100 | | |
99 | 101 | | |
100 | | - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
101 | 105 | | |
102 | 106 | | |
103 | 107 | | |
| |||
0 commit comments