1
0

pass host to upload script

This commit is contained in:
ThomasV
2019-07-11 16:34:33 +02:00
parent e81f4bdcd1
commit 665d6540d7

View File

@@ -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
!
!