Avast whitelist script (#10900)
* Add Avast AV whitelisting publish script * Update gitlab-ci.yml, publish-av-whitelists.sh * remove debug print
This commit is contained in:
parent
fa1f81b5a3
commit
acb1243214
@ -323,3 +323,18 @@ publish-docs:
|
|||||||
tags:
|
tags:
|
||||||
- linux-docker
|
- linux-docker
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
|
|
||||||
|
publish-av-whitelist:
|
||||||
|
stage: publish
|
||||||
|
<<: *no_git
|
||||||
|
# only: *releaseable_branches
|
||||||
|
except:
|
||||||
|
variables:
|
||||||
|
- $SCHEDULE_TAG == "nightly"
|
||||||
|
cache: {}
|
||||||
|
dependencies:
|
||||||
|
- build-windows
|
||||||
|
script:
|
||||||
|
- scripts/gitlab/publish-av-whitelists.sh
|
||||||
|
tags:
|
||||||
|
- linux-docker
|
||||||
|
16
scripts/gitlab/publish-av-whitelists.sh
Executable file
16
scripts/gitlab/publish-av-whitelists.sh
Executable file
@ -0,0 +1,16 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
|
||||||
|
echo "__________Publish Windows binaries to Avast Whitelisting program__________"
|
||||||
|
|
||||||
|
target_filename="parity-${CI_COMMIT_TAG:-${CI_COMMIT_REF_NAME}}.exe"
|
||||||
|
apt -y update
|
||||||
|
apt -y install ftp
|
||||||
|
ftp -pinv whitelisting.avast.com <<EOF
|
||||||
|
quote USER ftp_parityio
|
||||||
|
quote PASS $avast_ftp_password
|
||||||
|
cd /share
|
||||||
|
put ./artifacts/x86_64-pc-windows-msvc/parity.exe $target_filename
|
||||||
|
bye
|
||||||
|
EOF
|
||||||
|
|
Loading…
Reference in New Issue
Block a user