-
Notifications
You must be signed in to change notification settings - Fork 6
Release process
Markus Juenemann edited this page Dec 3, 2015
·
1 revision
Start a new release branch
# git flow release start X.X.X
Update the version number.
# vim tsip/__init__.py
VERSION = '0.2.0'
Update history.
# vim HISTORY.rst
Run tests.
# nosetests
# tox
Create packages.
# make build
# make sdist
# tar tvfz dist/tsip-0.2.0.tar.gz
# make bdist
# tar tvfz dist/tsip-0.2.0.linux-x86_64.tar.gz
# make rpm
# rpm -qlp dist/tsip-0.2.0-1.src.rpm
# rpm -qlp dist/tsip-0.2.0-1.noarch.rpm
make wheel
python setup.py bdist_wheel --universal
Create PKG-INFO file.
# make info
Finish release branch
# git commit -a
# git flow release finish 0.2.0
# git checkout master
# git status
master
# git push origin master
# git push --tag
Upload to Pypi
# pip2.7 install twine
# make upload
Push develop branch.
# git checkout develop
# git fetch