File tree Expand file tree Collapse file tree 2 files changed +24
-2
lines changed
Expand file tree Collapse file tree 2 files changed +24
-2
lines changed Original file line number Diff line number Diff line change 4343 path : dist/
4444
4545 - name : Publish package to PyPI
46- uses : pypa/gh-action-pypi-publish@release/v1
46+ uses : pypa/gh-action-pypi-publish@release/v1
47+
48+ publish-to-mcp :
49+ name : Publish to MCP Registry
50+ needs : [publish-to-pypi]
51+ runs-on : ubuntu-latest
52+ permissions :
53+ id-token : write
54+ steps :
55+ - uses : actions/checkout@v3
56+
57+ - name : Install MCP Publisher
58+ run : |
59+ curl -L "https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz mcp-publisher
60+
61+ - name : Login to MCP Registry
62+ run : ./mcp-publisher login github-oidc
63+
64+ - name : Update server.json with version
65+ run : sed -i "s/__VERSION__/${{ github.ref_name }}/g" server.json
66+
67+ - name : Publish to MCP Registry
68+ run : ./mcp-publisher publish
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44
55[project ]
66name = " stockfish-mcp"
7- version = " 0.2.0 "
7+ version = " 0.2.1 "
88authors = [
99 { name =" Stephan Botes" , email =" stephanbotes@gmail.com" },
1010]
You can’t perform that action at this time.
0 commit comments