[cpack/2106-upload-fix] provide bucket owner permissions in upload command
This commit is contained in:
@@ -117,6 +117,7 @@ list(POP_FRONT _tokens _bucket)
|
||||
string(JOIN "/" _prefix ${_tokens})
|
||||
|
||||
set(_file_regex ".*(cab|exe|msi)$")
|
||||
set(_extra_args [[{"ACL":"bucket-owner-full-control"}]])
|
||||
|
||||
set(_upload_command
|
||||
${_python_cmd} -s
|
||||
@@ -125,6 +126,7 @@ set(_upload_command
|
||||
--file_regex="${_file_regex}"
|
||||
--bucket ${_bucket}
|
||||
--key_prefix ${_prefix}
|
||||
--extra_args ${_extra_args}
|
||||
)
|
||||
|
||||
if(CPACK_AWS_PROFILE)
|
||||
|
||||
Reference in New Issue
Block a user