Skip to content

chore: switch release workflow to release-please - #603

Merged
jonathannorris merged 2 commits into
mainfrom
chore/release-please
Nov 23, 2026
Merged

jonathannorris merged 2 commits into
mainfrom
chore/release-please

Conversation

@jonathannorris

Copy link
Copy Markdown
Member

Summary

  • Replace the manual workflow_dispatch release in cli-release.yml with release-please on GITHUB_TOKEN. It opens a release PR instead of pushing version bumps and tags to main.
  • Version bumps come from conventional commits and also update server.json and oclif.manifest.json. mcp-worker is excluded since it isn't part of the npm package.
  • When a release is created, the publish job builds from the tag, uploads the tarballs to the release, and publishes to NPM and the MCP Registry. It stays in cli-release.yml so NPM trusted publishing keeps matching.

Notes

  • Releases are published directly instead of as draft prereleases.
  • The docs, VS Code extension, GitHub Actions and Homebrew updates still use AUTOMATION_USER_TOKEN, since they write to other repos.

Related Issues

Same setup as DevCycleHQ/java-server-sdk#207

@jonathannorris
jonathannorris requested a review from a team as a code owner November 20, 2026 20:27
Copilot AI balanced review requested due to automatic review settings November 20, 2026 20:27

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

A maintainer must verify required checks and branch protection before adoption because release PRs created with GITHUB_TOKEN will not trigger the repository’s pull_request-only CI.

No open issues 🎉

What changed in this PR

Switches CLI releases from manual version bumps to release-please, while keeping publishing in the existing workflow to preserve NPM trusted publishing.

Changes:

  • Uses conventional commits to maintain a release PR and synchronize package, MCP server, and oclif manifest versions.
  • Publishes from the release tag, uploads artifacts, and retains downstream repository updates.
  • Updates release documentation and excludes mcp-worker from release versioning.
File Description
release-please-config.json Configures Node releases, additional version files, and the worker exclusion.
DEVELOPMENT.md Documents the release-PR publishing process.
.release-please-manifest.json Sets the initial release baseline to 6.6.1.
.github/​workflows/​cli-release.yml Adds release-please automation and tag-based publishing.
.github/​actions/​release/​action.yml Uploads artifacts to an existing release instead of creating one.

Review effort: Balanced

@jonathannorris
jonathannorris merged commit 2f270ba into main Nov 23, 2026
6 checks passed
@jonathannorris
jonathannorris deleted the chore/release-please branch November 23, 2026 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants