aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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"