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

Add build and publish workflow #20

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Conversation

itrharrison
Copy link
Collaborator

To avoid the current situation:
where the version on PyPI is v0.2 but because the build and publish happened offline, the version information is out of sync with what is in setup.py

this PR automates the build and publish to PyPI process.

The workflow would be (on the github repo)

  • "Create a new release"
  • Create a new tag corresponding to the new version number
  • Hit "Publish release"

this will then trigger a github action which builds the package and uploads it to PyPI with the corresponding version number.

Someone would need to create the project on PyPI first. Happy to go through this with someone in person and then convert this PR from draft when we're ready.

@mgerbino
Copy link
Collaborator

mgerbino commented Dec 2, 2024

Hello @itrharrison, is this still valid? Happy to go through it together and close it, in case.

@itrharrison
Copy link
Collaborator Author

I think having a build and publish workflow would still be useful! Like I said above, just needs someone (could be me) to set things up on PyPI

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.

2 participants