Skip to content

feat(ci) : Create initial Release workflow for automated Pypi publishing#28

Draft
Krishna-kg732 wants to merge 4 commits into
kubeflow:mainfrom
Krishna-kg732:chore/release-workflow
Draft

feat(ci) : Create initial Release workflow for automated Pypi publishing#28
Krishna-kg732 wants to merge 4 commits into
kubeflow:mainfrom
Krishna-kg732:chore/release-workflow

Conversation

@Krishna-kg732
Copy link
Copy Markdown

@Krishna-kg732 Krishna-kg732 commented May 28, 2026

Add automated PyPI release pipeline

Adds a documented release workflow for kubeflow-mcp with pre-production and production publish paths.

What's included

  • release.yaml — GitHub Actions workflow with two triggers:
    • workflow_dispatch → builds and publishes RC/dev builds to Test PyPI
    • release: published → publishes stable tags to PyPI
  • scripts/check_version.py — fails the build if pyproject.toml and kubeflow_mcp/__init__.py versions don't match
  • RELEASE.md — maintainer checklist for both pre-prod and prod flows

Key behaviour

  • OIDC trusted publishing (no stored API tokens)
  • Pre-release versions (rc/dev) are blocked from production PyPI by default; maintainers can override via force_prod input
  • dry_run mode builds and verifies without uploading

Out of scope

Release branches, auto cherry-picks, and per-minor CHANGELOG automation (tracked separately).

Closes

#16

cc: @abhijeet-dhumal

Signed-off-by: Krishna Gupta <Krishnagupta.kg2k6@gmail.com>
Signed-off-by: Krishna Gupta <Krishnagupta.kg2k6@gmail.com>
Signed-off-by: Krishna Gupta <Krishnagupta.kg2k6@gmail.com>
@google-oss-prow
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign kramaranya for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant