Preparation:
- increment version in
setup.py
- add new changelog section in
CHANGES.rst
- align
DESCRIPTION.rst
withREADME.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/*
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 withsetup.py
- publish
- 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