Skip to content

HOWTO Release

Juan Luis Cano Rodríguez edited this page Nov 27, 2020 · 14 revisions
  1. Update version in docs: https://github.com/satellogic/telluric/blob/master/docs/source/conf.py and in the Changelog, including the date
  2. git commit -m 'Bump version' directly on master branch
  3. git tag -a vX.Y.Z, and Version X.Y.Z in the tag message (versioneer takes care of the rest)
  4. Check that there are no leftover files (git clean -i or cd .. && git clone telluric telluric-clean)
  5. pip install -U twine build if needed
  6. Generate sdist and bdist_wheel: python -m build .
  7. Upload to test environment to see that everything works: twine upload dist/* --repository-url https://test.pypi.org/legacy/ (note: if there are old releases in dist/*, twine will complain)
  8. If everything is correct, upload to production environment: twine upload dist/* --repository-url https://upload.pypi.org/legacy/
  9. git push upstream master && git push upstream --tags
  10. "Draft a new release" https://github.com/satellogic/telluric/releases/new
  11. Advance version in docs/source/conf.py to vX.Y+1.dev0 and git commit -m 'Bump to next development version'
  12. Send an email to https://mail.python.org/mailman/listinfo/python-announce-list about the new release, similar to https://mail.python.org/pipermail/python-announce-list/2018-April/011908.html
Clone this wiki locally