@task
def publish(test=False):
    clean()
    if test:
        run('python setup.py register -r test sdist', echo=True)
        run('twine upload dist/* -r test', echo=True)
    else:
        run('python setup.py register sdist', echo=True)
        run('twine upload dist/*', echo=True)
.. versionadded:: 1.0
dataset/ETHPy150Open sloria/konch/tasks.py/publish--crossover with--dataset/ETHPy150Open edoburu/django-fluent-contents/fluent_contents/models/managers.py/ContentItemQuerySet.translated