Skip to content

Commit d3dfd94

Browse files
Merge branch 'main' into fweinberger/sep-1613
2 parents 6116af3 + 0c1cbf0 commit d3dfd94

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

.github/workflows/main.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,16 @@ jobs:
6363

6464
- run: npm ci
6565

66-
- run: npm publish --provenance --access public
66+
- name: Determine npm tag
67+
id: npm-tag
68+
run: |
69+
VERSION=$(node -p "require('./package.json').version")
70+
if [[ "$VERSION" == *"-beta"* ]]; then
71+
echo "tag=--tag beta" >> $GITHUB_OUTPUT
72+
else
73+
echo "tag=" >> $GITHUB_OUTPUT
74+
fi
75+
76+
- run: npm publish --provenance --access public ${{ steps.npm-tag.outputs.tag }}
6777
env:
6878
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@modelcontextprotocol/sdk",
3-
"version": "1.22.0",
3+
"version": "1.23.0-beta.0",
44
"description": "Model Context Protocol implementation for TypeScript",
55
"license": "MIT",
66
"author": "Anthropic, PBC (https://anthropic.com)",

0 commit comments

Comments
 (0)