Skip to content

Commit 5b78be5

Browse files
ci: add rerun for publish (#309)
This will allow us to manually call the run so the latest GitHub Action config from main is picked up. It also updates the Publisher to the latest version, and extracts the command in vars so its easier to update and read.
1 parent dd3c143 commit 5b78be5

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

.github/workflows/publish-to-npm-on-tag.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ on:
44
push:
55
tags:
66
- 'chrome-devtools-mcp-v*'
7+
workflow_call:
8+
inputs:
9+
npm-publish:
10+
default: false
11+
type: boolean
12+
mcp-publish:
13+
default: true
14+
type: boolean
715

816
permissions:
917
id-token: write # Required for OIDC
@@ -70,7 +78,9 @@ jobs:
7078

7179
- name: Install MCP Publisher
7280
run: |
73-
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
81+
export VERSION="1.2.1"
82+
export OS=$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/')
83+
curl -L "https://github.com/modelcontextprotocol/registry/releases/download/v${VERSION}/mcp-publisher_${VERSION}_${OS}.tar.gz" | tar xz mcp-publisher
7484
7585
- name: Login to MCP Registry
7686
run: ./mcp-publisher login github-oidc

server.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
"url": "https://github.com/ChromeDevTools/chrome-devtools-mcp",
88
"source": "github"
99
},
10-
"version": "0.2.5",
10+
"version": "0.6.0",
1111
"packages": [
1212
{
1313
"registryType": "npm",
1414
"registryBaseUrl": "https://registry.npmjs.org",
1515
"identifier": "chrome-devtools-mcp",
16-
"version": "0.2.5",
16+
"version": "0.6.0",
1717
"transport": {
1818
"type": "stdio"
1919
},

0 commit comments

Comments
 (0)