You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

18 lines
277 B

#!/bin/bash
# uploadserver is set in /etc/hosts
set -e
version=`git describe --tags`
echo $version
here=$(dirname "$0")
cd $here/../dist
sftp -oBatchMode=no -b - thomasv@uploadserver << !
cd electrum-downloads-airlock
mkdir $version
cd $version
mput *
bye
!