mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-28 16:38:17 +00:00
scripts/latest.sh: set correct acl on upload
This commit is contained in:
parent
b0b577e963
commit
9fa78bf21b
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue