Skip to content

Commit 596c49e

Browse files
committed
👷 Auto update mcp server's version
1 parent 6942053 commit 596c49e

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

.github/actions/github-registry/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ runs:
6969
- name: Publish MCP server
7070
shell: bash
7171
run: |
72+
sed -i "s/0.0.0-dev/${GITHUB_REF_NAME}/g" server.json
7273
mcp_publisher="mcp-publisher_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz"
7374
curl -L "https://github.com/modelcontextprotocol/registry/releases/latest/download/${mcp_publisher}" | tar xz mcp-publisher
7475
./mcp-publisher login github-oidc

glama.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

server.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
"source": "github",
1616
"id": "643163403"
1717
},
18-
"version": "v0.10.6-dev",
18+
"version": "0.0.0-dev",
1919
"packages": [
2020
{
2121
"registryType": "oci",
22-
"identifier": "ghcr.io/eat-pray-ai/yutu:v0.10.6-dev",
22+
"identifier": "ghcr.io/eat-pray-ai/yutu:0.0.0-dev",
2323
"transport": {
2424
"type": "streamable-http",
2525
"url": "http://localhost:8216/mcp"

0 commit comments

Comments
 (0)