forked from tornadoweb/tornado
-
Notifications
You must be signed in to change notification settings - Fork 0
Release instructions
bdarnell edited this page Mar 29, 2013
·
10 revisions
- For a patch release, checkout the previous release (
git checkout v1.1.0), and then make changes (using git cherry-pick or rebase as needed). For a full release,git checkout master. - Move release notes from next.rst to their final location and update release date.
- Update version numbers in code (
setup.py,__init__.py). Sample commit - Tag the release:
git tag -a v1.1.1Paste release notes into the editor window that pops up. - Build the release tarball:
python setup.py sdist(the tarball goes indist/tornado-3.0.tar.gz) - Test the release tarball in an isolated environment:
virtualenv /tmp/test_env; cd /tmp/test_env; source bin/activate; pip install path/to/tornado-3.0.tar.gz; python -m tornado.test.runtests. - Upload the tarball to pypi:
python setup.py sdist upload - For a patch relase, merge the newly-created tag into master:
git checkout master; git merge v1.1.1 - Push the code and tag to github:
git push origin master; git push origin tag v1.1.1 - Update branches (TODO: document branch policy)
- Announce via google group
- Go to readthedocs.org and update the default version