Skip to content

Commit 0f84274

Browse files
committed
Explicitly setting ACL after promoting "beta" release to "production". Closes #2777.
1 parent da8a887 commit 0f84274

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,8 @@ release: require-tag require-s3cmd require-gh-token require-wget require-ruby re
388388
for URL in $$($(S3CMD) ls s3://$(S3_BUCKET)/ | grep $$BASE_NAME | awk '{print $$4}'); do \
389389
NAME=$$(basename $$URL) && \
390390
PROD=$$(echo $$NAME | sed s/"$$BASE_NAME"/$$PROD_BASE_NAME/) && \
391-
$(S3CMD) cp s3://$(S3_BUCKET)/$$NAME s3://$(S3_BUCKET)/$$PROD; \
391+
$(S3CMD) cp s3://$(S3_BUCKET)/$$NAME s3://$(S3_BUCKET)/$$PROD && \
392+
$(S3CMD) setacl s3://$(S3_BUCKET)/$$PROD --acl-public; \
392393
done && \
393394
for URL in $$($(S3CMD) ls s3://$(S3_BUCKET)/ | grep update_ | awk '{print $$4}'); do \
394395
NAME=$$(basename $$URL) && \

0 commit comments

Comments
 (0)