How to Make a ReleaseΒΆ
A core developer should use the following steps to create a release of ctk-cli.
Configure ~/.pypirc as described here.
Make sure that all CI tests are passing.
Tag the release. Requires a GPG key with signatures. For version X.Y.Z:
git tag -s -m "ctk-cli X.Y.Z" X.Y.Z upstream/master
Create the source tarball and binary wheels:
git checkout master git fetch upstream git reset --hard upstream/master rm -rf dist/ python setup.py sdist bdist_wheel
Upload the packages to the testing PyPI instance:
twine upload --sign -r pypitest dist/*
Check the PyPI testing package page.
Upload the packages to the PyPI instance:
twine upload --sign dist/*
Check the PyPI package page.
Make sure the package can be installed:
mkvirtualenv test-pip-install pip install ctk_cli rmvirtualenv test-pip-install