from fabric.api import local

__author__ = 'derek'


def deploy(version):
    local('python runtests.py')
    local("git tag -a %s -m %s" % (version, version))
    local('python setup.py sdist upload')
from fabric.api import local

__author__ = 'derek'


def deploy(version):
    local('python runtests.py')
    local("git tag -a %s -m %s" % (version, version))
    local("git push origin --tags")
    local('python setup.py sdist upload')
Make sure to push the tags
Make sure to push the tags
