Skip to content

feat: Trigger MCP publish on main and bump version#965

Merged
edwinjosechittilappilly merged 2 commits into
mainfrom
openrag-mcp-test
Feb 13, 2026
Merged

feat: Trigger MCP publish on main and bump version#965
edwinjosechittilappilly merged 2 commits into
mainfrom
openrag-mcp-test

Conversation

@edwinjosechittilappilly

Copy link
Copy Markdown
Collaborator

Update publish workflow to trigger on pushes to the main branch (when sdks/mcp/pyproject.toml changes) and enable manual workflow_dispatch instead of the previous tag-based trigger. Also bump openrag-mcp version from 0.1.0 to 0.1.1.

Update publish workflow to trigger on pushes to the main branch (when sdks/mcp/pyproject.toml changes) and enable manual workflow_dispatch instead of the previous tag-based trigger. Also bump openrag-mcp version from 0.1.0 to 0.1.1.
Copilot AI review requested due to automatic review settings February 13, 2026 21:52
@edwinjosechittilappilly edwinjosechittilappilly merged commit 91de150 into main Feb 13, 2026
4 checks passed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the MCP publish automation to run from main changes (and manually via workflow_dispatch) rather than tag pushes, and bumps the openrag-mcp package version.

Changes:

  • Bump openrag-mcp version in sdks/mcp/pyproject.toml from 0.1.0 to 0.1.1.
  • Change the GitHub Actions publish workflow trigger from tag-based to push on main (path-filtered) plus workflow_dispatch.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
sdks/mcp/pyproject.toml Bumps the package version to 0.1.1.
.github/workflows/publish-mcp.yml Adjusts workflow triggers to publish from main changes and allow manual dispatch.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 3 to +9
on:
push:
tags:
- 'mcp-v*'
branches:
- main
paths:
- 'sdks/mcp/pyproject.toml'
workflow_dispatch:

Copilot AI Feb 13, 2026

Copy link

Choose a reason for hiding this comment

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

The workflow trigger was changed away from tags, but the job still derives the package version from GITHUB_REF_NAME by stripping the mcp-v prefix and then sed-writes that into pyproject.toml. On a push to main (or workflow_dispatch), this will set the version to main (or whatever ref name), producing an invalid version and breaking publish. Update the workflow to get the version from sdks/mcp/pyproject.toml (or accept an explicit workflow_dispatch input) and remove the tag-based extraction/update steps accordingly.

Copilot uses AI. Check for mistakes.
Comment thread sdks/mcp/pyproject.toml
[project]
name = "openrag-mcp"
version = "0.1.0"
version = "0.1.1"

Copilot AI Feb 13, 2026

Copy link

Choose a reason for hiding this comment

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

pyproject.toml bumps openrag-mcp to 0.1.1, but sdks/mcp/src/openrag_mcp/__init__.py still defines __version__ = "0.1.0". This leaves the runtime-reported version out of sync with the published package metadata; update __version__ (or remove it if you want a single source of truth).

Suggested change
version = "0.1.1"
version = "0.1.0"

Copilot uses AI. Check for mistakes.
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