File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Publish Data Modeling MCP to Github MCP Registry
33on :
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
99jobs :
@@ -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
You can’t perform that action at this time.
0 commit comments