Skip to content

Add release automation and documentation#47

Open
sduvvuri1603 wants to merge 1 commit intokubeflow:mainfrom
sduvvuri1603:feature/Release-Auto-Initial-PyPI-Publich
Open

Add release automation and documentation#47
sduvvuri1603 wants to merge 1 commit intokubeflow:mainfrom
sduvvuri1603:feature/Release-Auto-Initial-PyPI-Publich

Conversation

@sduvvuri1603
Copy link
Contributor

Description of your changes:

  • .github/workflows/build-packages.yml: converted into a reusable workflow that still performs the matrix build/validation but now also handles release-mode tasks—regenerating artifacts from the sdist, running twine check, and optionally publishing to PyPI via the Trusted Publishing path. That’s the core enhancement.
  • Introduced .github/workflows/release.yml, which triggers on vX.Y.Z tags and reuses the build workflow in publish mode (single Python 3.11 job with secrets: inherit).
  • Authored docs/RELEASE.md covering versioning requirements, step-by-step release procedure, workflow behavior, and PyPI rollback guidance.

@google-oss-prow
Copy link

[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 gmfrasca 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

@sduvvuri1603 sduvvuri1603 force-pushed the feature/Release-Auto-Initial-PyPI-Publich branch 2 times, most recently from 0d2b36e to 699fb24 Compare December 23, 2025 17:21
Signed-off-by: sduvvuri1603 <sduvvuri@redhat.com>
@sduvvuri1603 sduvvuri1603 force-pushed the feature/Release-Auto-Initial-PyPI-Publich branch from 699fb24 to 545bd8e Compare December 23, 2025 17:23
@sduvvuri1603 sduvvuri1603 marked this pull request as ready for review December 23, 2025 19:19
@google-oss-prow google-oss-prow bot requested a review from gmfrasca December 23, 2025 19:19
@sduvvuri1603 sduvvuri1603 marked this pull request as draft December 23, 2025 19:20
@sduvvuri1603 sduvvuri1603 marked this pull request as ready for review January 7, 2026 15:09
name: package-py${{ matrix.python-version }}
path: dist/
retention-days: 30

Copy link
Contributor

Choose a reason for hiding this comment

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

Could you add a step to upload the packages as release artifacts.

@VaniHaripriya
Copy link
Contributor

I think we should add automatic changelog generation using git-cliff. @mprahl @HumairAK could you share your thoughts on this?

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants