Skip to content

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.

2 participants