Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: 0.1
Fetching contributors…

Cannot retrieve contributors at this time

executable file 13 lines (10 sloc) 0.33 kb
#!/bin/bash
RELEASE_NUM=`grep version setup.py | cut -d\' -f2`
git tag | grep $RELEASE_NUM > /dev/null && \
echo "New version number required ($RELEASE_NUM already used)" && exit 1
# Push to PyPi
./setup.py sdist upload
# Tag in Git
git tag $RELEASE_NUM -m "Tagging release $RELEASE_NUM"
git push origin master
git push --tags
Jump to Line
Something went wrong with that request. Please try again.