Skip to content

Latest commit

 

History

History
50 lines (40 loc) · 742 Bytes

howto_publish_new_release.md

File metadata and controls

50 lines (40 loc) · 742 Bytes

Test locally

$ python -m pip install -e .
$ tempyenv

Build new release

$ git checkout master
$ git merge develop --no-ff
$ git push
$ git tag vX.Y.Z
$ git push origin vX.Y.Z
  • Publish a release on github.com

Follow instructions to build and publish to pypi

# Setup your ~/.pypirc
[distutils]
index-servers =
  pypi
  pypi-test

[pypi]
  username = __token__
  password = SECRET

[pypi-test]
  username = __token__
  password = SECRET

# Build
$ python3 -m pip install --upgrade pip
$ python3 -m pip install --upgrade build
$ python3 -m build
$ rm -f dist/*
$ python3 -m build

# Upload
$ python3 -m pip install --upgrade twine
$ python3 -m twine upload --repository pypi dist/* --verbose