From b83c86db2af8e6aa9c609fe98538b363acc5f408 Mon Sep 17 00:00:00 2001 From: David Vuong Date: Mon, 12 Oct 2015 14:11:48 +1100 Subject: [PATCH] chore(fabric): add deploy task --- fabfile.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/fabfile.py b/fabfile.py index 705e3db..db5ff4f 100644 --- a/fabfile.py +++ b/fabfile.py @@ -34,3 +34,10 @@ def cover(): """Determines test coverage""" clean() local('nosetests test/* --with-coverage --cover-package=pynodebb') + + +@task +def deploy(): + """Deploys the current pynodebb version to pypi""" + clean() + local('python setup.py sdist upload')