2019-07-21 15:03:31 +02:00
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
|
2020-03-25 17:16:51 +01:00
|
|
|
target_filename="openethereum-${CI_COMMIT_TAG:-${CI_COMMIT_REF_NAME}}.exe"
|
2019-07-21 15:03:31 +02:00
|
|
|
apt -y update
|
|
|
|
apt -y install ftp
|
2019-07-29 16:44:19 +02:00
|
|
|
|
|
|
|
echo "__________Publish Windows binaries to Avast Whitelisting program__________"
|
|
|
|
|
2019-07-21 15:03:31 +02:00
|
|
|
ftp -pinv whitelisting.avast.com <<EOF
|
|
|
|
quote USER ftp_parityio
|
|
|
|
quote PASS $avast_ftp_password
|
|
|
|
cd /share
|
2020-03-25 17:16:51 +01:00
|
|
|
put ./artifacts/x86_64-pc-windows-msvc/openethereum.exe $target_filename
|
2019-07-21 15:03:31 +02:00
|
|
|
bye
|
|
|
|
EOF
|
|
|
|
|
2019-07-29 16:44:19 +02:00
|
|
|
echo "__________Publish Windows binaries to Kaspersky Whitelisting program__________"
|
|
|
|
|
|
|
|
ftp -pinv whitelist1.kaspersky-labs.com <<EOF
|
|
|
|
quote USER wl-ParityTech
|
|
|
|
quote PASS $kaspersky_ftp_password
|
2020-03-25 17:16:51 +01:00
|
|
|
put ./artifacts/x86_64-pc-windows-msvc/openethereum.exe $target_filename
|
2019-07-29 16:44:19 +02:00
|
|
|
bye
|
|
|
|
EOF
|