diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml index bb97e82..76600f3 100644 --- a/.github/workflows/image.yml +++ b/.github/workflows/image.yml @@ -81,10 +81,10 @@ jobs: --certificate-oidc-issuer "https://token.actions.githubusercontent.com" \ "$archive" tar xzf "$archive" mcp-publisher - # server.json in the repo names the last version; the release's tag names this one + # server.json leaves the version out; the release's tag gives it to the listing and its image - run: | v="${GITHUB_REF_NAME#v}" - jq --arg v "$v" '.version = $v | .packages[0].identifier = "ghcr.io/bukely/peerbox:" + $v' server.json > server.tmp + jq --arg v "$v" '.version = $v | .packages[0].identifier += ":" + $v' server.json > server.tmp mv server.tmp server.json - run: ./mcp-publisher login github-oidc - run: ./mcp-publisher publish diff --git a/server.json b/server.json index 0087765..b348dbc 100644 --- a/server.json +++ b/server.json @@ -11,7 +11,6 @@ "icons": [ { "src": "https://peerbox.net/icon.png", "mimeType": "image/png", "sizes": ["128x128"] } ], - "version": "0.2.10", "remotes": [ { "type": "streamable-http", @@ -21,7 +20,7 @@ "packages": [ { "registryType": "oci", - "identifier": "ghcr.io/bukely/peerbox:0.2.10", + "identifier": "ghcr.io/bukely/peerbox", "transport": { "type": "streamable-http", "url": "http://localhost:{PORT}/mcp"