From d71276133ff08a27441b6059d595d84ee3733f4c Mon Sep 17 00:00:00 2001 From: Darko Lukic Date: Sun, 1 Apr 2018 20:31:36 +0200 Subject: [PATCH] Add script for package publishing --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..86a9edf --- /dev/null +++ b/Makefile @@ -0,0 +1,10 @@ +publish: + pip install twine + python setup.py sdist + twine upload dist/* + +ci-publish: + echo '[pypi]' > ~/.pypirc + echo 'username=lukicdarkoo' >> ~/.pypirc + echo "password=${PYPI_PASSWORD}" >> ~/.pypirc + $(MAKE) publish \ No newline at end of file