Skip to content

Commit 64f6b9e

Browse files
committed
chore: bump version to 0.5.2 and fix MCP registry publish workflow
- Update server.json to 0.5.2 and add auto-versioning step in release workflow - Fix bash -e swallowing mcp-publisher error output by using set +e/set -e
1 parent 7d3bb67 commit 64f6b9e

5 files changed

Lines changed: 18 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,12 @@ jobs:
112112
steps:
113113
- uses: actions/checkout@v4
114114

115+
- name: Update server.json version
116+
run: |
117+
VERSION="${GITHUB_REF_NAME#v}"
118+
sed -i "s/\"version\": \"[^\"]*\"/\"version\": \"$VERSION\"/g" server.json
119+
sed -i "s|ghcr.io/luarss/openroad-mcp:[^\"]*|ghcr.io/luarss/openroad-mcp:$VERSION|g" server.json
120+
115121
- name: Install mcp-publisher
116122
run: |
117123
curl -L "https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz mcp-publisher
@@ -121,8 +127,10 @@ jobs:
121127

122128
- name: Publish to MCP Registry
123129
run: |
130+
set +e
124131
output=$(./mcp-publisher publish 2>&1)
125132
exit_code=$?
133+
set -e
126134
echo "$output"
127135
if [ $exit_code -ne 0 ] && echo "$output" | grep -q "cannot publish duplicate version"; then
128136
echo "Version already published to MCP Registry — skipping (idempotent re-run)"

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.5.2] - 2026-05-17
9+
10+
### Fixed
11+
- Release workflow: auto-update server.json version from git tag, fix bash -e swallowing mcp-publisher error output
12+
813
## [0.5.1] - 2026-05-17
914

1015
### Fixed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "openroad-mcp"
7-
version = "0.5.1"
7+
version = "0.5.2"
88
authors = [
99
{name = "Precision Innovations", email="jluar@precisioninno.com"},
1010
]

server.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@
66
"url": "https://github.com/luarss/openroad-mcp",
77
"source": "github"
88
},
9-
"version": "0.4.2",
9+
"version": "0.5.2",
1010
"packages": [
1111
{
1212
"registryType": "pypi",
1313
"identifier": "openroad-mcp",
14-
"version": "0.4.2",
14+
"version": "0.5.2",
1515
"transport": { "type": "stdio" },
1616
"runtimeHint": "uvx"
1717
},
1818
{
1919
"registryType": "oci",
20-
"identifier": "ghcr.io/luarss/openroad-mcp:0.4.2",
20+
"identifier": "ghcr.io/luarss/openroad-mcp:0.5.2",
2121
"transport": { "type": "stdio" },
2222
"runtimeHint": "docker"
2323
}

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)