Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 862 Bytes

RELEASE.md

File metadata and controls

38 lines (26 loc) · 862 Bytes

PyPi

Preparation:

  • increment version in setup.py
  • add new changelog section in CHANGES.rst
  • commit/push all changes

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

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

Debian

Generate Debian package with the following commands (requires python3-all and python3-stdeb):

rm -Rf deb_dist/*
python3 setup.py --command-packages=stdeb.command bdist_deb

Github

Steps:

  • start new release (version: vX.Y.Z)
  • enter release notes, i.e., significant changes since last release
  • upload docker-banner-gen-X.Y.Z.tar.gz previously generated with setup.py
  • upload deb_dist/python3-docker-banner-gen_X.Y.Z-1_all.deb previously generated with stdeb
  • publish