Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ jobs:
with:
node-version: "24"
registry-url: "https://registry.npmjs.org"
- name: Set version from tag
run: |
VERSION=${GITHUB_REF#refs/tags/v}
npm version "$VERSION" --no-git-tag-version
npm run sync-version

- run: npm ci
- run: npm run build --if-present
- run: npm test
Expand All @@ -33,10 +39,5 @@ jobs:
- name: Authenticate to MCP Registry
run: ./mcp-publisher login github-oidc

- name: Set version in server.json
run: |
VERSION=${GITHUB_REF#refs/tags/v}
jq --arg v "$VERSION" '.version = $v' server.json > server.tmp && mv server.tmp server.json

- name: Publish server to MCP Registry
run: ./mcp-publisher publish