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

ci: publish tags to PyPi and make GitHub releases #3

Merged
merged 1 commit into from
Feb 8, 2024

Conversation

cardoe
Copy link
Contributor

@cardoe cardoe commented Feb 8, 2024

This builds every push to the main branch to ensure it builds and also takes every tag or GitHub release and makes a GitHub release if one isn't there. Uploads the release to PyPi. Following https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/

This builds every push to the main branch to ensure it builds and also
takes every tag or GitHub release and makes a GitHub release if one
isn't there. Uploads the release to PyPi. Following
https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/

Signed-off-by: Doug Goldstein <[email protected]>
@cardoe
Copy link
Contributor Author

cardoe commented Feb 8, 2024

@cloudnull the PyPi project is just in your name so I can't enable the cross trust so you'll have to do that for this. https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/ is the full guide. Apparently you just need to go to https://pypi.org/manage/account/publishing/ and approve the pypi environment.

@cloudnull cloudnull merged commit d339923 into rackerlabs:main Feb 8, 2024
@cardoe cardoe deleted the create-pypi-release-process branch February 8, 2024 16:48
@cloudnull
Copy link
Contributor

@cardoe @syedhaseebahmed Publisher access has been added
image

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.

3 participants