Delgan / loguru

Python logging made (stupidly) simple
MIT License
18.69k stars 682 forks source link

ci: add pypi release workflow #1146

Closed trim21 closed 1 month ago

trim21 commented 1 month ago

how to use this:

create a pypi api token at https://pypi.org/manage/account/ and set project secret at https://github.com/Delgan/loguru/settings/secrets/actions , with name PYPI_API_TOKEN.

After it's done, change version and add a git tag, then push it to github.

Delgan commented 1 month ago

I'll merge it as is, but for now it can't be used yet. I need to make the Readme compatible (it's not validated by Twine, I used to manually change a few things).

webknjaz commented 2 weeks ago

FYI https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/

trim21 commented 2 weeks ago

FYI https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/

what's your point?