Fix downloading mcp publisher #2
This commit is contained in:
parent
48243d8d8e
commit
c69800fe2b
1 changed files with 2 additions and 1 deletions
3
.github/workflows/publish-mcp.yml
vendored
3
.github/workflows/publish-mcp.yml
vendored
|
|
@ -26,7 +26,8 @@ jobs:
|
|||
echo "Generated server.json with version: $VERSION"
|
||||
- name: Install MCP Publisher
|
||||
run: |
|
||||
curl -L https://github.com/modelcontextprotocol/registry/releases/download/latest/mcp-publisher_linux_amd64.tar.gz -o mcp-publisher.tar.gz
|
||||
LATEST_RELEASE=$(curl -s https://api.github.com/repos/modelcontextprotocol/registry/releases/latest | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
|
||||
curl -L https://github.com/modelcontextprotocol/registry/releases/download/${LATEST_RELEASE}/mcp-publisher_linux_amd64.tar.gz -o mcp-publisher.tar.gz
|
||||
tar -xzf mcp-publisher.tar.gz
|
||||
chmod +x mcp-publisher
|
||||
sudo mv mcp-publisher /usr/local/bin/
|
||||
|
|
|
|||
Loading…
Reference in a new issue