diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 6d98849..cdad0c4 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -120,12 +120,12 @@ signs: archives: # Registry server archive - id: registry - name_template: "registry_{{ .Version }}_{{ .Os }}_{{ .Arch }}" + name_template: "registry_{{ .Os }}_{{ .Arch }}" ids: - registry - + # Publisher CLI archive - id: publisher - name_template: "mcp-publisher_{{ .Version }}_{{ .Os }}_{{ .Arch }}" + name_template: "mcp-publisher_{{ .Os }}_{{ .Arch }}" ids: - publisher diff --git a/docs/guides/publishing/github-actions.md b/docs/guides/publishing/github-actions.md index a320136..313475f 100644 --- a/docs/guides/publishing/github-actions.md +++ b/docs/guides/publishing/github-actions.md @@ -61,7 +61,7 @@ jobs: - name: Install MCP Publisher run: | - curl -L "https://github.com/modelcontextprotocol/registry/releases/download/v1.1.0/mcp-publisher_1.1.0_$(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/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 - name: Login to MCP Registry run: ./mcp-publisher login github-oidc diff --git a/docs/guides/publishing/publish-server.md b/docs/guides/publishing/publish-server.md index c4f7c4f..196e3e7 100644 --- a/docs/guides/publishing/publish-server.md +++ b/docs/guides/publishing/publish-server.md @@ -48,7 +48,7 @@ brew install mcp-publisher ⬇️ macOS/Linux/WSL: Pre-built binaries ```bash -curl -L "https://github.com/modelcontextprotocol/registry/releases/download/v1.1.0/mcp-publisher_1.1.0_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz mcp-publisher && sudo mv mcp-publisher /usr/local/bin/ +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 && sudo mv mcp-publisher /usr/local/bin/ ``` @@ -74,7 +74,7 @@ export PATH=$PATH:$(pwd)/bin 🪟 Windows PowerShell: Pre-built binaries ```powershell -$arch = if ([System.Runtime.InteropServices.RuntimeInformation]::ProcessArchitecture -eq "Arm64") { "arm64" } else { "amd64" }; Invoke-WebRequest -Uri "https://github.com/modelcontextprotocol/registry/releases/download/v1.1.0/mcp-publisher_1.1.0_windows_$arch.tar.gz" -OutFile "mcp-publisher.tar.gz"; tar xf mcp-publisher.tar.gz mcp-publisher.exe; rm mcp-publisher.tar.gz +$arch = if ([System.Runtime.InteropServices.RuntimeInformation]::ProcessArchitecture -eq "Arm64") { "arm64" } else { "amd64" }; Invoke-WebRequest -Uri "https://github.com/modelcontextprotocol/registry/releases/download/latest/mcp-publisher_windows_$arch.tar.gz" -OutFile "mcp-publisher.tar.gz"; tar xf mcp-publisher.tar.gz mcp-publisher.exe; rm mcp-publisher.tar.gz # Move mcp-publisher.exe to a directory in your PATH ```