aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRahiel Kasim <rahiel@protonmail.ch>2016-01-03 22:01:29 +0100
committerRahiel Kasim <rahiel@protonmail.ch>2016-01-03 22:01:29 +0100
commit53381426029d51c0461669bcc1fbe9dc366153ca (patch)
treee6cd9f64325d21603465cd69e2d931db3410fa7c
parent3792a55568db3990124d69d41a248b336bacb269 (diff)
release 0.2 to pypi with update script
-rw-r--r--firectl.py2
-rwxr-xr-xupdate-pypi.bash9
2 files changed, 10 insertions, 1 deletions
diff --git a/firectl.py b/firectl.py
index 2b5b87d..1707933 100644
--- a/firectl.py
+++ b/firectl.py
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-__version__ = "0.1"
+__version__ = "0.2"
import os
from difflib import get_close_matches
diff --git a/update-pypi.bash b/update-pypi.bash
new file mode 100755
index 0000000..c29b5bf
--- /dev/null
+++ b/update-pypi.bash
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+
+rm -R dist/
+python setup.py sdist # source distribution
+python setup.py bdist_wheel # built package
+# gpg --detach-sign -a dist/*
+
+read -p "Password: " password
+twine upload dist/* -p "$password"