Tweaked Fabric release command.

This commit is contained in:
Lance Edgar 2013-05-22 18:10:55 -07:00
parent a45f31cb59
commit 6440319bb0

4
fabfile.py vendored
View file

@ -23,6 +23,7 @@
################################################################################
import os.path
import shutil
from fabric.api import *
@ -36,7 +37,8 @@ def release():
Release a new version of 'rattail.pyramid'.
"""
local("python setup.py egg_info --tag-build='' sdist --formats=gztar")
shutil.rmtree('rattail.pyramid.egg-info')
local('python setup.py sdist --formats=gztar register upload')
filename = 'rattail.pyramid-{0}.tar.gz'.format(__version__)