Skip to content

Commit e5686d5

Browse files
committed
Update the workflow to update both root and package version
1 parent ec7faa0 commit e5686d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-and-register.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Update server.json version
4040
run: |
4141
VERSION=${GITHUB_REF#refs/tags/v}
42-
jq --arg version "$VERSION" '.version = $version' server.json > tmp.json
42+
jq --arg version "$VERSION" '.version = $version | .packages[0].version = $version' server.json > tmp.json
4343
mv tmp.json server.json
4444
4545
- name: Install MCP Publisher

0 commit comments

Comments
 (0)