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
RC: full description matching prior -RC releases — draft links,
draft changelog, and the 'not final' NOTE block with the
version-negotiation pointer.
GA: same structure with versioned URLs and the NOTE block dropped.
Both now write the body via a heredoc to --notes-file so the markdown
(backticks, blockquote) survives intact. $VERSION comes from env and is
regex-validated before these steps run.
Copy file name to clipboardExpand all lines: .github/workflows/cut-release.yml
+13-5Lines changed: 13 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -52,15 +52,23 @@ jobs:
52
52
GH_TOKEN: ${{ github.token }}
53
53
TARGET_SHA: ${{ github.sha }}
54
54
run: |
55
+
cat > /tmp/notes.md <<EOF
56
+
This release marks the **release candidate (RC)** \`${VERSION}\` revision of the Model Context Protocol.
57
+
58
+
The specification is available in [draft form](https://modelcontextprotocol.io/specification/draft).
59
+
60
+
For a detailed overview of changes, see [${VERSION} draft changelog](https://modelcontextprotocol.io/specification/draft/changelog).
61
+
62
+
>[!NOTE]
63
+
>**To users and implementers:** this specification is not final. Changes may be introduced between the RC and the final release. SDKs will adopt this version at their own pace, and the prior version of the spec may remain in use for an undetermined amount of time.
64
+
>
65
+
>Refer to the [Version Negotiation documentation](https://modelcontextprotocol.io/specification/draft/basic/lifecycle#version-negotiation) to learn about the process for clients and servers to determine the version of the protocol being used.
66
+
EOF
55
67
gh release create "${VERSION}-RC" \
56
68
--target "$TARGET_SHA" \
57
69
--prerelease \
58
70
--title "MCP ${VERSION} RC" \
59
-
--notes "Release candidate for the ${VERSION} revision of the Model Context Protocol specification.
60
-
61
-
The RC content is the current draft: https://modelcontextprotocol.io/specification/draft
62
-
63
-
Please file issues against SEPs in this milestone before the final cut."
0 commit comments