Skip to content

Release process

Samuel D. Leslie edited this page Jul 5, 2020 · 6 revisions

Instructions assume a correctly configured development environment.

Preparation

  1. Update the version in the VERSION file.
  2. Update CHANGELOG.md (review the commit history).
  3. Push all commits on master and check all builds pass.

Releasing

  1. Build the source distribution: python setup.py sdist
  2. Build the universal wheel: python setup.py bdist_wheel
  3. Sanity check the distribution: twine check dist/*
  4. Upload the new release: twine upload dist/*

Post-release

  1. Add a new Git tag corresponding to the release.
  2. Fast-forward the stable branch to match master.

Clone this wiki locally