Skip to content

Commit 1849583

Browse files
author
Dev Agent Amelia
committed
chore: bump server.json to 0.5.0 + workflow commits server.json back [skip ci]
1 parent 1fd0e06 commit 1849583

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
permissions:
1212
id-token: write # Required for GitHub OIDC auth to MCP Registry
13-
contents: read
13+
contents: write
1414

1515
steps:
1616
- name: Checkout
@@ -34,6 +34,11 @@ jobs:
3434
- name: Sync server.json to tag version
3535
run: |
3636
jq --arg v "$VERSION" '.version = $v | .packages[0].version = $v' server.json > server.tmp && mv server.tmp server.json
37+
git config user.name "github-actions[bot]"
38+
git config user.email "github-actions[bot]@users.noreply.github.com"
39+
git add server.json
40+
git diff --cached --quiet || git commit -m "chore: sync server.json to $VERSION [skip ci]"
41+
git push origin HEAD:master
3742
3843
- name: Publish to npm
3944
run: npm publish --access public --provenance --ignore-scripts

server.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
"source": "github",
1717
"id": "1163599879"
1818
},
19-
"version": "0.4.7",
19+
"version": "0.5.0",
2020
"packages": [
2121
{
2222
"registryType": "npm",
2323
"registryBaseUrl": "https://registry.npmjs.org",
2424
"identifier": "mcp-dataverse",
25-
"version": "0.4.7",
25+
"version": "0.5.0",
2626
"transport": {
2727
"type": "stdio"
2828
},

0 commit comments

Comments
 (0)