From 9fa78bf21b16e7320648eabdd1947049fa081c54 Mon Sep 17 00:00:00 2001 From: Felicity Tarnell Date: Fri, 1 May 2015 14:05:17 +0100 Subject: [PATCH] scripts/latest.sh: set correct acl on upload --- scripts/latest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/latest.sh b/scripts/latest.sh index c8ff5c0811..f451f6fb21 100755 --- a/scripts/latest.sh +++ b/scripts/latest.sh @@ -47,7 +47,7 @@ _get() { } _put() { - if ! $AWS_CLI s3 cp --region "${REGION}" "$1" "s3://${BUCKET}/latest.txt"; then + if ! $AWS_CLI s3 cp --acl public-read --region "${REGION}" "$1" "s3://${BUCKET}/latest.txt"; then printf >&2 -- "%s: failed to upload latest.txt; see above messages\\n" "$0" exit 1 fi