Skip to content

Release the MCP server when a version bump merges to main - #10

Merged
mzupan merged 1 commit into
mainfrom
ci/release-on-merge
Nov 8, 2026
Merged

mzupan merged 1 commit into
mainfrom
ci/release-on-merge

Conversation

@mzupan

@mzupan mzupan commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

Same change as RushObservability/cli#30: the MCP server now releases when a version bump merges, and the security workflow stops running on merges to main.

Release on merge

release.yml now runs on pushes to main that change Cargo.toml, and by hand (workflow_dispatch), instead of on pushed tags.

  • validate reads the version from Cargo.toml.
    • If v<version> is already tagged on another commit, the run skips the release and notes it in the summary. Dependabot Cargo.toml changes shouldn't fail.
    • Otherwise it runs the tests and pushes the tag. If the tag is already on this commit, it's a re-run of a failed release and continues.
  • build, release and image are unchanged apart from taking the tag from validate.

Security workflow

security.yml no longer runs on push: main. It still runs on pull requests, weekly, and by hand.

README

After merging

The MCP server has never been released, and Cargo.toml is at 0.1.0. Run gh workflow run release.yml --ref main once to publish v0.1.0: archives, checksums, and ghcr.io/rushobservability/mcp-server:0.1.0 plus :latest.

Checks

actionlint is clean apart from the existing macos-15-intel runner label, which its version doesn't know.

Same as the CLI and query-api: merging a Cargo.toml version bump tags and
publishes that version (archives, checksums and container image). The
security workflow no longer runs on pushes to main. The README notes the
query-api v0.1.11 requirement.
@mzupan
mzupan merged commit 2f3f9c0 into main Nov 8, 2026
5 checks passed
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.

1 participant