File tree Expand file tree Collapse file tree 2 files changed +18
-54
lines changed
Expand file tree Collapse file tree 2 files changed +18
-54
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1515 build :
1616 runs-on : macos-latest
1717 steps :
18- - uses : actions/checkout@v2
18+ - uses : actions/checkout@v5
1919 with :
2020 submodules : recursive
21+ fetch-depth : 0 # Fetch all tags for version detection
2122 - name : Setup submodules sparse-checkout
2223 run : |
2324 chmod +x scripts/setup-submodules-sparse.sh
3435 env :
3536 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3637 name : Release
38+ # MCP publishing
39+ - name : Update server.json version to match package.json
40+ run : |
41+ VERSION=$(node -p "require('./package.json').version")
42+ jq --arg v "$VERSION" '.version = $v | .packages[0].version = $v' server.json > tmp && mv tmp server.json
43+ echo "Updated server.json version to $VERSION"
44+
45+ - name : Download MCP Publisher
46+ run : |
47+ 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
48+
49+ - name : Publish to MCP Registry
50+ run : |
51+ chmod +x mcp-publisher
52+ ./mcp-publisher login github-oidc
53+ ./mcp-publisher publish
You can’t perform that action at this time.
0 commit comments