Tweaked Fabric release
command.
This commit is contained in:
parent
a45f31cb59
commit
6440319bb0
4
fabfile.py
vendored
4
fabfile.py
vendored
|
@ -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__)
|
||||
|
||||
|
|
Loading…
Reference in a new issue