mirror of
https://github.com/servo/servo.git
synced 2025-06-12 10:24:43 +00:00
Set Content-Type for sha256 uploads.
This commit is contained in:
parent
8e3b4b6fe5
commit
e65b4489d1
1 changed files with 3 additions and 1 deletions
|
@ -651,7 +651,9 @@ class PackageCommands(CommandBase):
|
|||
'Key': package_upload_key,
|
||||
}
|
||||
s3.copy(copy_source, BUCKET, latest_upload_key)
|
||||
s3.upload_fileobj(package_hash_fileobj, BUCKET, latest_hash_upload_key)
|
||||
s3.upload_fileobj(
|
||||
package_hash_fileobj, BUCKET, latest_hash_upload_key, ExtraArgs={'ContentType': 'text/plain'}
|
||||
)
|
||||
|
||||
def update_maven(directory):
|
||||
(aws_access_key, aws_secret_access_key) = get_s3_secret()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue