Publish package to pypi using github action#102
Conversation
|
@rr- I would like to configure a github action to publish release packages to pypi as observed in this pull request. This not only automates more the release process, but would make sure that the release packages have attestations. Additional to the changes in this pull request, it is also necessary to configure pypi and the github repo. But I don't have permissions to change settings in either of them. Can you please do so? What would need to be done is:
|
rr-
left a comment
There was a problem hiding this comment.
Thank you. I added release.yml and build.yml to the list of permitted integrations on PyPI, and I've added an environment called pypi here on GitHub with default rules. LMK if you need anything more.
|
After merging this I will try to publish a release candidate to test it out. I don't know how else to test it. |
|
Sounds good. We can always go with x.y.0.1 if something goes left, I think. |
|
Okay, 0.17.0rc1 is released and the workflow was flawless, see https://github.com/rr-/docstring_parser/actions/runs/16214135509. And the attestations are there, see https://pypi.org/project/docstring-parser/0.17.0rc1/#docstring_parser-0.17.0rc1-py3-none-any.whl. |
No description provided.