Skip to content

Commit 2769344

Browse files
authored
MCP Registry Publishing #3 (#77)
1 parent 8390393 commit 2769344

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

.github/workflows/update-mcp-registry.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,17 @@ jobs:
4343
4444
- name: Validate version consistency
4545
id: version
46+
env:
47+
HEAD_BRANCH: ${{ github.event.workflow_run.head_branch }}
4648
run: |
4749
# Read versions from files
4850
ROOT_VERSION=$(jq -r '.version' server.json)
4951
# Only get versions from packages that have a version field (exclude null/empty)
5052
PACKAGE_VERSIONS=$(jq -r '.packages[] | select(.version != null) | .version' server.json | sort -u)
5153
PYPROJECT_VERSION=$(grep '^version = ' pyproject.toml | sed 's/version = "\(.*\)"/\1/')
52-
TAG_VERSION=${GITHUB_REF_NAME#v}
54+
# Get tag from the triggering workflow (Docker), not current workflow
55+
# Use environment variable to prevent code injection
56+
TAG_VERSION=${HEAD_BRANCH#v}
5357
5458
echo "Version Check:"
5559
echo " server.json root: $ROOT_VERSION"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "couchbase-mcp-server"
3-
version = "0.5.2rc2"
3+
version = "0.5.2rc3"
44
description = "Couchbase MCP Server - The Developer Data Platform for Critical Applications in Our AI World"
55
readme = "README.md"
66
requires-python = ">=3.10,<3.14"

server.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
"url": "https://github.com/Couchbase-Ecosystem/mcp-server-couchbase",
77
"source": "github"
88
},
9-
"version": "0.5.2rc2",
9+
"version": "0.5.2rc3",
1010
"packages": [
1111
{
1212
"registryType": "pypi",
1313
"identifier": "couchbase-mcp-server",
14-
"version": "0.5.2rc2",
14+
"version": "0.5.2rc3",
1515
"transport": {
1616
"type": "stdio"
1717
},
@@ -172,7 +172,7 @@
172172
},
173173
{
174174
"registryType": "oci",
175-
"identifier": "docker.io/couchbaseecosystem/mcp-server-couchbase:0.5.2rc2",
175+
"identifier": "docker.io/couchbaseecosystem/mcp-server-couchbase:0.5.2rc3",
176176
"transport": {
177177
"type": "stdio"
178178
},

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)