From 98c92749b0a63128d134fa3875574a04f293b815 Mon Sep 17 00:00:00 2001 From: Juergen Bocklage-Ryannel Date: Fri, 2 Dec 2016 15:50:18 +0100 Subject: added upload to cli commands --- cli.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'cli.py') diff --git a/cli.py b/cli.py index 2b287f9..aaf070e 100755 --- a/cli.py +++ b/cli.py @@ -181,5 +181,13 @@ def uninstall(): sh('pip3 uninstall qface') +@cli.command() +def upload(): + dist = Path('dist') + dist.rmdir_p() + sh('python3 setup.py bdist_wheel') + sh('twine upload dist/*') + + if __name__ == '__main__': cli() -- cgit v1.2.1