The current release workflow requires too many steps.
Follow what I implemented in https://github.com/gallantlab/autoflatten:
- Use
setuptools-scm to automatically derive version numbers from git tags
- Set up a workflow to release to pypi and testpypi upon new github releases.