Skip to content

Commit 07ea272

Browse files
committed
build: fix mcp publish
1 parent 54cb87c commit 07ea272

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,9 @@ jobs:
5555
setupGitUser: false
5656
publish: "pnpm ci:publish"
5757
version: "pnpm ci:version"
58-
- name: Install MCP Publisher
58+
- name: Publish to MCP Registry
5959
run: |
6060
curl -L "https://github.com/modelcontextprotocol/registry/releases/download/v1.0.0/mcp-publisher_1.0.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/
61-
- name: Login to MCP Registry
62-
run: |
6361
echo "${{ secrets.MCP_REGISTRY_PRIVATE_KEY }}" > key.pem
64-
mcp-publisher login dns --domain workspace-developer.goog --private-key-file key.pem
65-
- name: Publish to MCP Registry
66-
run: ./mcp-publisher publish
62+
mcp-publisher login dns --domain workspace-developer.goog --private-key $(openssl pkey -in key.pem -noout -text | grep -A3 "priv:" | tail -n +2 | tr -d ' :\n')
63+
mcp-publisher publish

0 commit comments

Comments
 (0)