Skip to content

Commit 04497ec

Browse files
author
atavism
committed
Merge pull request getlantern#2786 from getlantern/issue-2777
Explicitly setting ACL after promoting "beta" release to "production"
2 parents da8a887 + 0f84274 commit 04497ec

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)