Skip to content
Konstantin Lopuhin edited this page Sep 2, 2020 · 3 revisions

Maintenance

Versioning

Use bumpversion to conveniently change project version:

bumpversion patch  # 0.0.1 -> 0.0.2
bumpversion minor  # 0.1.0 -> 0.2.0
bumpversion major  # 1.0.0 -> 2.0.0

You can use --dry-run --verbose flags first to preview changes.

Making releases

  • Update HISTORY.rst in master (via PR or directly)
  • use bumpversion (see above) to update the version
  • push changes with tags: git push --tags && git push
  • a release would be pushed to PyPI from the build, as long as it's a tagged commit
Clone this wiki locally