Skip to content

Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.

Pin the registry sync to the dispatched release version

Martin Vogel324b6fc547c4
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 97d93925b..e79dbb856 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -368,8 +368,12 @@ jobs:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Sync server.json version to the released package
+ env:
+ # The dispatch input is the authoritative release version —
+ # pkg/npm/package.json can lag behind it in the dispatched commit.
+ RELEASE_VERSION: ${{ inputs.version }}
run: |
- VERSION=$(jq -r '.version' pkg/npm/package.json)
+ VERSION="${RELEASE_VERSION#v}"
jq --arg v "$VERSION" '.version = $v | (.packages[].version) = $v' \
server.json > server.tmp && mv server.tmp server.json
echo "server.json pinned to $VERSION"