To release a new version of CEKit a number of steps must be taken.
The automated process uses https://pypi.org/project/zest.releaser to perform the correct steps. This is installed by the Pipfile development environment.
Run make release
and follow the prompts.
Note
A
.pypirc
should be configured according to https://packaging.python.org/specifications/pypirc for PyPi uploads.
git reset --hard upstream/master
Merge develop: git merge develop -X theirs
and in the commit message enter: Release <version>
Edit cekit/version.py
file and put <next-version>
, add that file and amend the previous commit.
Tag repository: git tag <version>
Push code to master: git push upstream master
Push tags: git push upstream --tags
Push a release to PyPi (https://pypi.org/project/cekit/ ) via make clean release
(requires twine: https://pypi.org/project/twine/ which is also available as a RPM in Fedora)
Note
Note when you see line like this: Uploading distributions to https://upload.pypi.org/legacy/ enter blindly your username on PyPi and hit enter, it will ask you for password.