Chrome DevTools for coding agents
ci: fix MCP registry publishing (#401)
Nikolay Vitkovb6db3838881e
diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.ymlindex 198f1e8a..4861136b 100644--- a/.github/workflows/pre-release.yml+++ b/.github/workflows/pre-release.yml@@ -25,10 +25,8 @@ jobs:- name: Install MCP Publisherrun: |- export TAG=$(curl -sL https://api.github.com/repos/modelcontextprotocol/registry/releases/latest | jq -r ".tag_name")- export VERSION="${TAG#v}"export OS=$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/')- curl -L "https://github.com/modelcontextprotocol/registry/releases/download/${TAG}/mcp-publisher_${VERSION}_${OS}.tar.gz" | tar xz mcp-publisher+ curl -L "https://github.com/modelcontextprotocol/registry/releases/download/latest/mcp-publisher_${OS}.tar.gz" | tar xz mcp-publisher- name: Verify server.jsonrun: npm run verify-server-json-versiondiff --git a/.github/workflows/publish-to-npm-on-tag.yml b/.github/workflows/publish-to-npm-on-tag.ymlindex 1c0fe61d..13e0db92 100644--- a/.github/workflows/publish-to-npm-on-tag.yml+++ b/.github/workflows/publish-to-npm-on-tag.yml@@ -79,10 +79,8 @@ jobs:- name: Install MCP Publisherrun: |- export TAG=$(curl -sL https://api.github.com/repos/modelcontextprotocol/registry/releases/latest | jq -r ".tag_name")- export VERSION="${TAG#v}"export OS=$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/')- curl -L "https://github.com/modelcontextprotocol/registry/releases/download/${TAG}/mcp-publisher_${VERSION}_${OS}.tar.gz" | tar xz mcp-publisher+ curl -L "https://github.com/modelcontextprotocol/registry/releases/download/latest/mcp-publisher_${OS}.tar.gz" | tar xz mcp-publisher- name: Login to MCP Registryrun: ./mcp-publisher login github-oidc