numpy-groupies icon indicating copy to clipboard operation
numpy-groupies copied to clipboard

Add pypi release workflow

Open dcherian opened this issue 3 years ago • 5 comments

Hi Michael,

What do you think of adding a pypi release workflow like https://github.com/pydata/xarray/blob/main/.github/workflows/pypi-release.yaml

It makes it really easy to issue a release, all we have to do is tag a release using the Github UI.

dcherian avatar Oct 25 '22 15:10 dcherian

Sounds great. Can you do it?

ml31415 avatar Oct 27 '22 16:10 ml31415

Sure, can you generate a token (I don't have permissions for this) on PyPI and add it as a github secret named PYPI_TOKEN

dcherian avatar Oct 27 '22 16:10 dcherian

Done.

ml31415 avatar Oct 27 '22 17:10 ml31415

Thanks, looks like we need one for TestPyPI too (secrets.TESTPYPI_TOKEN) though that step is optional

dcherian avatar Oct 27 '22 17:10 dcherian

Ok, TESTPYPI_TOKEN ist also set up now.

ml31415 avatar Nov 05 '22 07:11 ml31415

Thanks!

dcherian avatar Mar 27 '23 16:03 dcherian