add tgz and upload script to contrib

This commit is contained in:
ThomasV 2018-07-01 15:04:27 +02:00
parent 978e721660
commit fa4d7a47f8
2 changed files with 18 additions and 0 deletions

1
contrib/make_tgz Executable file
View file

@ -0,0 +1 @@
python3 setup.py sdist --format=zip,gztar

17
contrib/upload Executable file
View file

@ -0,0 +1,17 @@
#!/bin/bash
set -e
version=`git describe --tags`
echo $version
here=$(dirname "$0")
cd $here/../dist
sftp -oBatchMode=no -b - thomasv@download.electrum.org << !
cd electrum-downloads
mkdir $version
cd $version
mput *
bye
!