Skip to content

Instantly share code, notes, and snippets.

@hodgestar
Created July 31, 2015 15:09
Show Gist options
  • Save hodgestar/dab9362005d53d7fa385 to your computer and use it in GitHub Desktop.
Save hodgestar/dab9362005d53d7fa385 to your computer and use it in GitHub Desktop.
diff --git a/utils/publish.sh b/utils/publish.sh
new file mode 100755
index 0000000..d2bc265
--- /dev/null
+++ b/utils/publish.sh
@@ -0,0 +1,6 @@
+#!/bin/sh -e
+
+rm dist/* || true
+python setup.py sdist bdist_wheel
+python setup.py register
+twine upload dist/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment