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.
Clone git@github.com:cekit/cekit.git
(from https://github.com/cekit/cekit)
Run make release
and follow the prompts.
Note
A
.pypirc
should be configured according to https://packaging.python.org/specifications/pypirc for PyPi uploads.Note
It is recommended to use a 3 digit version specification when prompted (e.g.
3.9.10
,3.10.2
).
Switch to master branch
Ensure you have the latest code: 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)
Update version on develop to point to next major/minor release
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.