Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 944 Bytes

RELEASE.md

File metadata and controls

40 lines (29 loc) · 944 Bytes

PyPi

Preparation:

  • increment version in setup.py
  • add new changelog section in CHANGES.rst
  • align DESCRIPTION.rst with README.md
  • commit/push all changes

Commands for releasing on pypi.org (requires twine >= 1.8.0):

find -name "*~" -delete
rm dist/*
python3 setup.py clean
python3 setup.py sdist
twine upload dist/*

Github

Steps:

  • start new release (version: vX.Y.Z)
  • enter release notes, i.e., significant changes since last release
  • upload image-dataset-converter-all-X.Y.Z.tar.gz previously generated with setup.py
  • publish

Docker

  • create copy of most recent release Docker image, e.g., docker/0.0.2, and rename it to just released version
  • link to new version from docker/README.md
  • update version in bash.bashrc
  • update version of image-dataset-converter-all library to just released one
  • push out to in-house registry and docker hub