Skip to content

Commit 93822ef

Browse files
committed
Build mcp-types alongside mcp in the publish workflow
After the split, `uv build` only produced the root `mcp` distribution, so `mcp-types` would never reach PyPI. Build both packages explicitly (not `--all-packages`, which would also bundle the unpublishable examples/* members). Both share one git-tag-driven version via uv-dynamic-versioning, like httpx2.
1 parent e10061d commit 93822ef

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/publish-pypi.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ jobs:
2727
run: uv python install 3.12
2828

2929
- name: Build
30-
run: uv build
30+
run: |
31+
uv build --package mcp
32+
uv build --package mcp-types
3133
3234
- name: Upload artifacts
3335
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1

0 commit comments

Comments
 (0)