aboutsummaryrefslogtreecommitdiff
path: root/bin/build.sh
diff options
context:
space:
mode:
authorJakob Stendahl <jakob.stendahl@outlook.com>2019-08-15 21:42:57 +0200
committerJakob Stendahl <jakob.stendahl@outlook.com>2019-08-15 21:42:57 +0200
commit710343b39a3483ffda8c6ccedaf98320886d8e48 (patch)
tree1f77c7de5da81c2a3738ea05dd72b66fab166bc1 /bin/build.sh
parentc4866aa7b16400bb73e7f5389725fd0093dbd3c8 (diff)
downloadTermIO-python-package-710343b39a3483ffda8c6ccedaf98320886d8e48.tar.gz
TermIO-python-package-710343b39a3483ffda8c6ccedaf98320886d8e48.zip
:construction: Fix stupid error, new version
Diffstat (limited to 'bin/build.sh')
-rwxr-xr-xbin/build.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/build.sh b/bin/build.sh
new file mode 100755
index 0000000..e9faf30
--- /dev/null
+++ b/bin/build.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+printf "> Create source distribution\n"
+python3 setup.py sdist bdist_wheel
+
+printf "> Upload to PyPI\n"
+python3 -m twine upload dist/*
+
+printf "> Install updated binary\n"
+sudo pip3 install TermIO --upgrade