summaryrefslogtreecommitdiff
path: root/platform/linux/scripts/after_script.sh
blob: 4989f0c444ddeab2221f38c283b7034810614bca (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

set -e
set -o pipefail

JOB=$1

if [ ! -z "${AWS_ACCESS_KEY_ID}" ] && [ ! -z "${AWS_SECRET_ACCESS_KEY}" ] ; then
    aws s3 cp --recursive --acl public-read --exclude "*" --include "*/actual.png" test/fixtures \
        s3://mapbox/mapbox-gl-native/render-tests/$JOB
fi