mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
(maybe) make warehouse s3 objects public when published
This commit is contained in:
committed by
David Glasser
parent
71cc2e61f5
commit
c2c5ff5fef
@@ -100,7 +100,8 @@ var publishEngine = function(s3, release, version) {
|
||||
BucketName: "com.meteor.warehouse",
|
||||
ObjectName: destKey,
|
||||
SourceBucket: "com.meteor.warehouse",
|
||||
SourceObject: sourceKey
|
||||
SourceObject: sourceKey,
|
||||
Acl: "public-read"
|
||||
};
|
||||
s3.CopyObject(opts);
|
||||
});
|
||||
@@ -127,7 +128,8 @@ var publishPackage = function(s3, release, name, version) {
|
||||
BucketName: "com.meteor.warehouse",
|
||||
ObjectName: destKey,
|
||||
SourceBucket: "com.meteor.warehouse",
|
||||
SourceObject: sourceKey
|
||||
SourceObject: sourceKey,
|
||||
Acl: "public-read"
|
||||
};
|
||||
s3.CopyObject(opts);
|
||||
};
|
||||
@@ -152,7 +154,8 @@ var publishManifest = function(s3, release) {
|
||||
BucketName: "com.meteor.warehouse",
|
||||
ObjectName: destKey,
|
||||
SourceBucket: "com.meteor.warehouse",
|
||||
SourceObject: sourceKey
|
||||
SourceObject: sourceKey,
|
||||
Acl: "public-read"
|
||||
};
|
||||
s3.CopyObject(opts);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user