JordanMilne / Advocate

An SSRF-preventing wrapper around Python's requests library. Advocate is no longer maintained, please fork and rename if you would like to continue work on it.
Other
92 stars 17 forks source link

Upload sdist and wheel to PyPI in CI on release creation #24

Open JordanMilne opened 2 years ago

JordanMilne commented 2 years ago

I've avoided this because of security concerns, and was locally uploading packages with twine, but it looks like twine itself builds and publishes its package to PyPI in a github release hook. May as well publish in CI, then!

https://github.com/psf/black/blob/c0cc19b5b3371842d696875897bebefebd5e1596/.github/workflows/pypi_upload.yml#L11-L34 looks like it'd be a good fit.