Changeset - 4ae4989cb7e7
[Not reviewed]
0 1 0
Lance Edgar (lance) - 11 years ago 2013-05-22 20:10:35
lance@edbob.org
Tweaked Fabric `release` command.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
fabfile.py
Show inline comments
 
@@ -29,25 +29,25 @@ from fabric.api import *
 

	
 

	
 
execfile(os.path.join(os.path.dirname(__file__), 'rattail', '_version.py'))
 

	
 

	
 
@task
 
def release():
 
    """
 
    Release a new version of 'rattail'.
 
    """
 

	
 
    shutil.rmtree('rattail.egg-info')
 
    local("python setup.py egg_info --tag-build='' sdist --formats=gztar register upload")
 
    local('python setup.py sdist --formats=gztar register upload')
 

	
 
    filename = 'rattail-{0}.tar.gz'.format(__version__)
 

	
 
    put(os.path.join('dist', filename), '/srv/pypi/{0}'.format(filename))
 
    with cd('/srv/pypi'):
 
        run('rm --recursive --force simple')
 
        run('compoze index')
 

	
 

	
 
@task
 
def create_user():
 
    """
0 comments (0 inline, 0 general)