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:
parent
b0b577e963
commit
9fa78bf21b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user