upload (234B)
1 #!/bin/bash 2 3 set -e 4 5 host=$1 6 version=`git describe --tags` 7 echo $version 8 9 here=$(dirname "$0") 10 cd $here/../dist 11 12 sftp -oBatchMode=no -b - thomasv@$host << ! 13 cd electrum-downloads 14 mkdir $version 15 cd $version 16 mput * 17 bye 18 !