From 48935218db4a6f8ea2c4a8d6ebc40616e25d3ccd Mon Sep 17 00:00:00 2001 From: Michael van Tellingen Date: Fri, 2 Jun 2017 15:42:54 +0200 Subject: [PATCH] Add make release --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 4ca99e5..9c1284a 100644 --- a/Makefile +++ b/Makefile @@ -46,3 +46,9 @@ sandbox: sandbox/manage.py loaddata sandbox/exampledata/users.json sandbox/manage.py loaddata sandbox/exampledata/personalisation.json sandbox/manage.py runserver + +release: + pip install twine wheel + rm -rf dist/* + python setup.py sdist bdist_wheel + twine upload -s dist/*