Skip to content

Commit 9d686f0

Browse files
luarssclaude
andcommitted
fix: correct jq syntax for server.json version update
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 6c00f54 commit 9d686f0

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ jobs:
131131
VERSION="${GITHUB_REF_NAME#v}"
132132
jq --arg v "$VERSION" '
133133
.version = $v |
134-
(.packages[] | select(.registryType == "pypi")) |= . + {"version": $v} |
135-
(.packages[] | select(.registryType == "oci")) |= .identifier |= (split(":")[0] + ":" + $v)
134+
(.packages[] | select(.registryType == "pypi")).version = $v |
135+
(.packages[] | select(.registryType == "oci")).identifier |= (split(":")[0] + ":" + $v)
136136
' server.json > server.json.tmp && mv server.json.tmp server.json
137137
138138
- name: Wait for PyPI propagation

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.3.0.dev2"
7+
version = "0.3.0.dev3"
88
authors = [
99
{name = "Precision Innovations", email="jluar@precisioninno.com"},
1010
]

0 commit comments

Comments
 (0)