Skip to content

Commit 2d4076e

Browse files
authored
Data modeling add to GitHub registry (#216)
* add github registry config, action workflow * Update CHANGELOG.md * update action * Update github-registry-data-modeling.yml * Update github-registry-data-modeling.yml
1 parent a25746f commit 2d4076e

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/github-registry-data-modeling.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Publish Data Modeling MCP to Github MCP Registry
33
on:
44
push:
55
tags:
6-
- mcp-neo4j-data-modeling-v*
6+
- 'mcp-neo4j-data-modeling-v*'
77
workflow_dispatch: # Allows manual triggering of the workflow
88

99
jobs:
@@ -17,10 +17,12 @@ jobs:
1717
# MCP publishing (works for all package types)
1818
- name: Download MCP Publisher
1919
run: |
20-
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
20+
LATEST_VERSION=$(curl -s https://api.github.com/repos/modelcontextprotocol/registry/releases/latest | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
21+
curl -L "https://github.com/modelcontextprotocol/registry/releases/download/${LATEST_VERSION}/mcp-publisher_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz
2122
- name: Publish to MCP Registry
2223
run: |
24+
chmod +x mcp-publisher
2325
cd servers/mcp-neo4j-data-modeling/
24-
mcp-publisher login github-oidc
25-
mcp-publisher publish
26+
../../mcp-publisher login github-oidc
27+
../../mcp-publisher publish
2628

0 commit comments

Comments
 (0)