scripts: do not publish master builds, only nightly, stable, beta

This commit is contained in:
5chdn 2018-06-13 13:18:18 +02:00
parent f0accf2cad
commit 23802c3cdd
No known key found for this signature in database
GPG Key ID: 1A40871B597F5F80

View File

@ -93,7 +93,7 @@ push_binaries () {
echo "Push binaries to AWS S3" echo "Push binaries to AWS S3"
aws configure set aws_access_key_id $s3_key aws configure set aws_access_key_id $s3_key
aws configure set aws_secret_access_key $s3_secret aws configure set aws_secret_access_key $s3_secret
if [[ "$CI_BUILD_REF_NAME" = "master" || "$CI_BUILD_REF_NAME" = "beta" || "$CI_BUILD_REF_NAME" = "stable" || "$CI_BUILD_REF_NAME" = "nightly" ]]; if [[ "$CI_BUILD_REF_NAME" = "beta" || "$CI_BUILD_REF_NAME" = "stable" || "$CI_BUILD_REF_NAME" = "nightly" ]];
then then
export S3_BUCKET=builds-parity-published; export S3_BUCKET=builds-parity-published;
else else