summaryrefslogtreecommitdiffstats
path: root/.github/workflows/pypi.yml (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-05-17Only try publishing tags.Diego Elio Pettenò1-0/+1
Without this change, setuptools_scm will try to publish PEP 440 local versions to PyPI, which will fail. Also this does not require checking out the full history.
2021-05-16Fix fat-fingered copy.Diego Elio Pettenò1-1/+1
2021-05-16Add GitHub action for publishing to PyPI.Diego Elio Pettenò1-0/+35
This roughly follows the guide at https://packaging.python.org/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/ but includes local tweaks to follow best practices.