You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `v1.x` branch contains the stable v1 release. To release a patch:
66
+
67
+
### Latest v1.x (e.g., v1.25.3)
68
+
69
+
```bash
70
+
git checkout v1.x
71
+
git pull origin v1.x
72
+
# Apply your fix or cherry-pick commits
73
+
npm version patch # Bumps version and creates tag (e.g., v1.25.3)
74
+
git push origin v1.x --tags
75
+
```
76
+
77
+
The tag push automatically triggers the release workflow.
78
+
79
+
### Older minor versions (e.g., v1.23.2)
80
+
81
+
For patching older minor versions that aren't on the `v1.x` branch:
82
+
83
+
```bash
84
+
# 1. Create a release branch from the last release tag
85
+
git checkout -b release/1.23 v1.23.1
86
+
87
+
# 2. Apply your fixes (cherry-pick or manual)
88
+
git cherry-pick <commit-hash>
89
+
90
+
# 3. Bump version and push
91
+
npm version patch # Creates v1.23.2 tag
92
+
git push origin release/1.23 --tags
93
+
```
94
+
95
+
Then manually trigger the "Publish v1.x" workflow from [GitHub Actions](https://github.com/modelcontextprotocol/typescript-sdk/actions/workflows/release-v1x.yml), specifying the tag (e.g., `v1.23.2`).
96
+
97
+
### npm Tags
98
+
99
+
v1.x releases are published with `release-X.Y` npm tags (e.g., `release-1.25`), not `latest`. To install a specific minor version:
0 commit comments