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

Set up trusted publishing with PyPI #188

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stefan6419846
Copy link
Collaborator

No description provided.

@stefan6419846
Copy link
Collaborator Author

This PR prepares trusted publishing to automate pushing releases to PyPI (upstream docs: https://docs.pypi.org/trusted-publishers/). Before merging, we should ensure that the PyPI project is configured correctly, which has to be done by @stphivos.

Steps:

  1. Open the project.
  2. Go to "Manage project".
  3. Go to the "Publishing" section. (Direct link: https://pypi.org/manage/project/django-mock-queries/settings/publishing/
  4. Add a new publisher of type "GitHub" with the owner and repository name. The workflow name needs to be release.yml.

Afterwards, when creating a new release on GitHub, the release workflow will be triggered and push the artifacts to PyPI without further interaction.

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.

1 participant