Skip to content

Commit e4903ba

Browse files
authored
[download.pytorch.org] Make sure metadata is preserved during promotion (#7353)
Fixes pytorch/vision#9243
1 parent 543c82c commit e4903ba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

release/promote/common_utils.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ aws_promote() {
5050
${AWS} s3 cp ${DRY_RUN_FLAG} \
5151
--acl public-read \
5252
--recursive \
53+
--metadata-directive COPY \
5354
--exclude '*' \
5455
--include "*${package_name}-${pytorch_version}*" \
5556
"${PYTORCH_S3_FROM/\/$//}" \

0 commit comments

Comments
 (0)