Tweaked Fabric release command.

This commit is contained in:
Lance Edgar 2013-05-22 18:11:14 -07:00
parent b2fdbbc60d
commit 3d9292ef4c

4
fabfile.py vendored
View file

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