0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-22 11:07:57 +01:00

scripts/latest.sh: set correct acl on upload

This commit is contained in:
Felicity Tarnell 2015-05-01 14:05:17 +01:00
parent b0b577e963
commit 9fa78bf21b

View File

@ -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