changeset 5527:80b69729a0e2 stable

scripts: allow signing with a different key set with EMAIL
author Andrew Shadura <andrew@shadura.me>
date Fri, 02 Oct 2015 21:49:49 +0200
parents 84bb160aac6d
children 9b3e9e242f5c
files scripts/make-release
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/make-release	Sat Sep 26 02:34:43 2015 +0200
+++ b/scripts/make-release	Fri Oct 02 21:49:49 2015 +0200
@@ -46,7 +46,8 @@
 echo -n "Enter \"pypi\" to upload Kallithea $version to pypi: "
 read answer
 [ "$answer" = "pypi" ]
-python2 setup.py sdist upload --sign
+extraargs=${EMAIL:+--identity=$EMAIL}
+python2 setup.py sdist upload --sign $extraargs
 xdg-open https://pypi.python.org/pypi/Kallithea
 
 echo "Uploading docs to pypi"