Allow skipping of tests during release
sometimes ya just gotta do it
This commit is contained in:
parent
fba7c5f978
commit
6b3e645c12
6
tasks.py
6
tasks.py
|
@ -32,10 +32,12 @@ from invoke import task
|
|||
|
||||
|
||||
@task
|
||||
def release(ctx):
|
||||
def release(ctx, skip_tests=False):
|
||||
"""
|
||||
Release a new version of 'Tailbone'.
|
||||
"""
|
||||
ctx.run('tox')
|
||||
if not skip_tests:
|
||||
ctx.run('tox')
|
||||
|
||||
shutil.rmtree('Tailbone.egg-info')
|
||||
ctx.run('python setup.py sdist --formats=gztar upload')
|
||||
|
|
Loading…
Reference in a new issue