Skip to content
This repository has been archived by the owner on Aug 8, 2018. It is now read-only.

Latest commit

 

History

History
66 lines (39 loc) · 1.25 KB

HOW_TO_RELEASE.rst

File metadata and controls

66 lines (39 loc) · 1.25 KB

Releasing a PyProject

Releasing is a semi-automatic process. You have to edit some files and GitLab-CI will do the rest.

Version

Edit the version in $(PROJECT)/version.py

Changelog

You can either generate a pull-request based changelog.

make merge-log from=w.x to=y.z

It will generate a CHANGELOG entry, please prepend that entry to the CHANGLOG file and edit it as you wish.

You can also generate a commit based changelog.

make commit-log from=w.x to=y.z

from/to usually are git-tags, but it can be anything git recognizes.

Then generate the actual changelog files:

make log
git add -p
git commit -m "Bumped version and updated changelog"

Releasing on PyPI

make pypi

If the package exists and your not a member of the project please ask me: ganwell@fangorn.ch

Testing

The packages will be published by our CI, but you can also test the build:

make deb

Will create a debian package for the debian or ubuntu version you call this on.

make rpm

Will create a rpm package for the RedHat or Suse version you call this on.