Skip to content

Commit ec83155

Browse files
committed
Bump version to 0.4.2 and update OCI package handling in workflow and server.json.
1 parent cfc2f72 commit ec83155

File tree

3 files changed

+19
-7
lines changed

3 files changed

+19
-7
lines changed

.github/workflows/main.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,21 @@ jobs:
7979
data['version'] = version
8080
if 'packages' in data:
8181
for package in data['packages']:
82-
package['version'] = version
82+
registry_type = package.get('registryType')
83+
# For OCI packages: version is embedded in identifier (2025-10-11 schema)
84+
if registry_type == 'oci':
85+
identifier = package.get('identifier', '')
86+
# Update identifier with new version tag
87+
if ':' in identifier:
88+
base = identifier.rsplit(':', 1)[0]
89+
package['identifier'] = f'{base}:v{version}'
90+
# Remove separate version field if it exists (old schema)
91+
package.pop('version', None)
92+
else:
93+
# For npm, pypi, nuget: keep separate version field
94+
package['version'] = version
95+
96+
# Update Docker args with new version
8397
transport = package.get('transport', {})
8498
args = transport.get('args') if isinstance(transport, dict) else None
8599
if isinstance(args, list):

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "codealive-mcp"
3-
version = "0.4.1"
3+
version = "0.4.2"
44
description = "MCP server for the CodeAlive API"
55
readme = "README.md"
66
requires-python = ">=3.11"

server.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-09-29/server.schema.json",
33
"name": "io.github.CodeAlive-AI/codealive-mcp",
4-
"version": "0.2.0",
4+
"version": "0.4.1",
55
"description": "Semantic code search and analysis from CodeAlive for AI assistants and agents.",
66
"keywords": [
77
"context-engineering",
@@ -33,9 +33,7 @@
3333
"packages": [
3434
{
3535
"registryType": "oci",
36-
"registryBaseUrl": "https://ghcr.io",
37-
"identifier": "codealive-ai/codealive-mcp",
38-
"version": "0.2.0",
36+
"identifier": "ghcr.io/codealive-ai/codealive-mcp:v0.4.1",
3937
"transport": {
4038
"type": "stdio",
4139
"command": "docker",
@@ -45,7 +43,7 @@
4543
"-i",
4644
"-e",
4745
"CODEALIVE_API_KEY=YOUR_API_KEY_HERE",
48-
"ghcr.io/codealive-ai/codealive-mcp:v0.2.0"
46+
"ghcr.io/codealive-ai/codealive-mcp:v0.4.1"
4947
]
5048
}
5149
}

0 commit comments

Comments
 (0)