Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub action to publish python packages to PyPi #473

Open
Tracked by #430
aatmanvaidya opened this issue Jan 2, 2025 · 0 comments
Open
Tracked by #430

GitHub action to publish python packages to PyPi #473

aatmanvaidya opened this issue Jan 2, 2025 · 0 comments

Comments

@aatmanvaidya
Copy link
Collaborator

aatmanvaidya commented Jan 2, 2025

Feluda has multiple python packages in a single github repo, we could not find any existing tool/GitHub actions that can help us release and do semantic versioning of multiple packages in a monorepo. Hence we had to write our own custom script that does this for us. This is the GitHub action that trigger’s the workflow for semantic versioning - link

The task of this issue is to write a new GitHub action that publish packages directly to PyPi. This GitHub action should only be triggered manually and it should use the uv publish command. More about uv and uv publish can be found here. I have also documented some commands here.

A important thing to optimise here is that only package’s whose versions have been updated, they should only be pushed to pypi. If a separate github action for this is not possible or a custom script has to be written for this, we can also explore those things.

This workflow should be first tested in a dummy repo - https://github.com/aatmanvaidya/feluda-versioning-check/

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

No branches or pull requests

1 participant