You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 8, 2018. It is now read-only.
Ulrich Petri edited this page Dec 10, 2015
·
5 revisions
Versions
We're using the bumpversion utility to manage version numbers in the python projects.
Usually cutting a new release consists of increasing the version number then committing and tagging the change.
Those steps are consolidated into a single command with bumpversion.
Use the following command to install bumpversion if you don't have it on your system yet:
pip install bumpversion if not yet
Execute the following in the repo root to update the version:
bumpversion patch (or 'minor' or 'major')
this will update setup.py and setup.cfg, commit the changes and created a tag.
Ypu can view the result with git log.
Releases
Releasing a new package to PyPI is automated through Travis CI.
A new release is automatically uploaded whenever a new tagged commit is detected that passes all tests.
Therefore it is important to use the following command when pushing to Github to ensure tags are also uploaded: