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