Skip to content

Commit ff98fc4

Browse files
authored
Update registry server version (#1279)
* Update server version * OCI packages must not have 'registryBaseUrl' field - use canonical reference in 'identifier' instead * Remove version and add to identifier * Take latest release without suffix after ie v0.19.1 but not v0.19.1-test * Take latest release without suffix after ie v0.19.1 but not v0.19.1-test
1 parent 5e5e80a commit ff98fc4

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/workflows/registry-releaser.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
if [[ "${{ github.ref_type }}" == "tag" ]]; then
3535
TAG="${{ github.ref_name }}"
3636
else
37-
TAG=$(git tag --sort=-version:refname | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+' | head -n1)
37+
TAG=$(git tag --sort=-version:refname | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+$' | head -n1)
3838
fi
3939
IMAGE="ghcr.io/github/github-mcp-server:$TAG"
4040
@@ -59,7 +59,7 @@ jobs:
5959
if [[ "${{ github.ref_type }}" == "tag" ]]; then
6060
TAG_VERSION=$(echo "${{ github.ref_name }}" | sed 's/^v//')
6161
else
62-
LATEST_TAG=$(git tag --sort=-version:refname | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+(-.*)?$' | head -n 1)
62+
LATEST_TAG=$(git tag --sort=-version:refname | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+$' | head -n 1)
6363
[ -z "$LATEST_TAG" ] && { echo "No release tag found"; exit 1; }
6464
TAG_VERSION=$(echo "$LATEST_TAG" | sed 's/^v//')
6565
echo "Using latest tag: $LATEST_TAG"

server.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-09-29/server.schema.json",
2+
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-10-17/server.schema.json",
33
"name": "io.github.github/github-mcp-server",
44
"description": "Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.",
55
"status": "active",
@@ -11,9 +11,7 @@
1111
"packages": [
1212
{
1313
"registryType": "oci",
14-
"registryBaseUrl": "https://ghcr.io",
15-
"identifier": "github/github-mcp-server",
16-
"version": "${VERSION}",
14+
"identifier": "ghcr.io/github/github-mcp-server:${VERSION}",
1715
"transport": {
1816
"type": "stdio"
1917
},

0 commit comments

Comments
 (0)