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 gh action for pypi publish #26

Merged
merged 1 commit into from
Oct 29, 2021
Merged

Add gh action for pypi publish #26

merged 1 commit into from
Oct 29, 2021

Conversation

bpepple
Copy link
Collaborator

@bpepple bpepple commented Oct 28, 2021

This gh action should work for publishing to PyPi when a new release is tagged. The only thing that might need your input is if you don't already have a PyPi Secret in the project setings. If you don't it's fairly straight-forward to setup:

  • If you don't already have an API token from pypi, you'll need to generate one. Info on that can be found here: https://pypi.org/help/#apitoken

  • Once you have that, head over to Setting->Secrets, and add the token with the name PYPI_TOKEN.

@bpepple bpepple marked this pull request as ready for review October 28, 2021 19:28
@rkuykendall
Copy link
Owner

I did not, it it added now.

@rkuykendall rkuykendall merged commit c22c774 into rkuykendall:master Oct 29, 2021
@rkuykendall
Copy link
Owner

@bpepple Want to try a release?

@bpepple
Copy link
Collaborator Author

bpepple commented Oct 31, 2021

@bpepple Want to try a release?

@rkuykendall Sure, pushed v1.4.3 to PyPI. Worked without any issues, you just need to tag the release locally then push that tag to GH.

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