publish-release
Publish Release
Create a GitHub release for the modelcontextprotocol/csharp-sdk repository after a prepare-release PR has been merged. This skill refreshes the release notes to include any PRs merged between the preparation branch point and the merge, warns about changes that affect the version or breaking change assessment, and creates a draft GitHub release.
Use the shared release branch reference for branch roles, previous-release lookup rules, and release work-branch naming.
Safety: This skill only creates and updates draft releases. It must never publish a release. If the user asks to publish, decline and instruct them to publish manually through the GitHub UI.
Process
Work through each step sequentially. Present findings at each step and get user confirmation before proceeding.
Step 1: Identify the Prepare-Release PR
The user may provide:
- A PR number or URL — use directly
- A version number (e.g.,
1.1.0,2.0.0-preview.1) — search for a merged PR titledRelease v{version}. Prerelease versions are used verbatim, for exampleRelease v2.0.0-preview.1 - No context — list recently merged PRs with
Release vin the title and ask the user to select