git checkout master
git pull
Update swiftly/__init__.py VERSION string to an even-ending version
git add swiftly/__init__.py
Update CHANGELOG
git add CHANGELOG
git commit -m 'Releasing <version>'
git checkout -b <version>
git checkout stable
git merge <version>

rm -rf doc/build/*
python setup.py build_sphinx
git checkout gh-pages
mv doc/build/html <version>
git add <version>
Update index.html to point to new release docs
git add index.html
git commit -m 'Generated <version> docs'

git checkout debian
git merge <version>
Update debian/changelog
git add debian/changelog
git commit -m 'Releasing <version>'

git checkout rpm
git merge <version>
Update rpmbuild/SPECS/swiftly.spec Version: line and %changelog area
git add rpmbuild/SPECS/swiftly.spec
git commit -m 'Releasing <version>'

git checkout master
Update swiftly/__init__.py VERSION string to an odd-ending version
git add swiftly/__init__.py
Update CHANGELOG
git add CHANGELOG
git commit -m 'Moving to <version> development'

rm -rf doc/build/*
python setup.py build_sphinx
git checkout gh-pages
rm -rf dev
mv doc/build/html dev
git add dev
git commit -m 'Updated dev docs'

git checkout master
git push

git checkout <version>
git push origin <version>

To Update PyPI:
git checkout <version>
tar zcf ~/swiftly-<version>.tgz .
Log into https://pypi.python.org/pypi
Click on Your packages: swiftly
Edit latest version
Change version to <version>
Click Add Information
Click files
Select swiftly-<version>.tgz created above
Select File Type: source
Select Python Version: Any
Click Upload new File
