mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
Namespace by tag name.
This commit is contained in:
@@ -247,10 +247,11 @@ uploadAssets = (release, buildDir, assets, callback) ->
|
||||
secretAccessKey: s3Secret
|
||||
s3 = new AWS.S3 s3Info
|
||||
|
||||
key = "releases/#{release.tag_name}/#{assetName}"
|
||||
uploadParams =
|
||||
Bucket: s3Bucket
|
||||
ACL: 'public-read'
|
||||
Key: "releases/#{assetName}"
|
||||
Key: key
|
||||
Body: fs.createReadStream(assetPath)
|
||||
s3.upload uploadParams, (error, data) ->
|
||||
if error?
|
||||
|
||||
Reference in New Issue
Block a user