commit 665d6540d7c5067a16071e139125ba29464346de
parent e81f4bdcd11a072e7c4f38fb1c7eec19c2f7e1a8
Author: ThomasV <thomasv@electrum.org>
Date: Thu, 11 Jul 2019 16:34:33 +0200
pass host to upload script
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/contrib/upload b/contrib/upload
@@ -2,16 +2,17 @@
set -e
+host=$1
version=`git describe --tags`
echo $version
here=$(dirname "$0")
cd $here/../dist
-sftp -oBatchMode=no -b - thomasv@download.electrum.org << !
+sftp -oBatchMode=no -b - thomasv@$host << !
cd electrum-downloads
mkdir $version
cd $version
mput *
bye
-!-
\ No newline at end of file
+!