Publish cli package to pypi#2558
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why are these changes needed?
Adds the release pipeline and PyPI metadata for publishing
ag2-clias a standalone package.Changes
.github/workflows/cli-package.yml— New GHA workflow that builds and publishesag2-clito PyPI. Triggers on releases taggedcli-v*(e.g.cli-v0.1.0) or manual dispatch. Uses the existingpackageenvironment and PyPI credentials.cli/pyproject.toml— Addedproject.urls(Homepage, Docs, Source, Tracker, Discord),keywords, andclassifiersso the PyPI page has proper metadata and sidebar links.Release process
git tag cli-v0.1.0 && git push origin cli-v0.1.0cli/and uploads to PyPIThe
cli-v*tag prefix keeps CLI releases independent from the mainag2package (v*tags).Checks