Fix latest release download URLs (#677)
Versioned release download URLs use a pattern like: https://github.com/modelcontextprotocol/registry/releases/download/{version}/... But latest release download URLs use a pattern like: https://github.com/modelcontextprotocol/registry/releases/latest/download/... For example: https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_darwin_arm64.tar.gz Fixes #673.
This commit is contained in:
parent
7e65f32fcf
commit
8930ec80fc
1 changed files with 6 additions and 6 deletions
|
|
@ -61,7 +61,7 @@ jobs:
|
|||
|
||||
- name: Install MCP Publisher
|
||||
run: |
|
||||
curl -L "https://github.com/modelcontextprotocol/registry/releases/download/latest/mcp-publisher_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz mcp-publisher
|
||||
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
|
||||
|
||||
- name: Login to MCP Registry
|
||||
run: ./mcp-publisher login github-oidc
|
||||
|
|
@ -138,4 +138,4 @@ You can keep your package version and server.json version in sync automatically
|
|||
|
||||
## Troubleshooting
|
||||
- **"Authentication failed"**: Ensure `id-token: write` permission is set for OIDC, or check secrets
|
||||
- **"Package validation failed"**: Verify your package published to your registry (NPM, PyPi etc.) successfully first, and that you have done the necessary validation steps in the [Publishing Tutorial](publish-server.md)
|
||||
- **"Package validation failed"**: Verify your package published to your registry (NPM, PyPi etc.) successfully first, and that you have done the necessary validation steps in the [Publishing Tutorial](publish-server.md)
|
||||
|
|
|
|||
Loading…
Reference in a new issue