@@ -94,8 +94,6 @@ async function uploadAssets() {
94
94
95
95
logUpdate ( `Progress: ${ progress } /${ total } ` ) ;
96
96
97
- var manifest = { } ;
98
-
99
97
const uploads = diff . map ( async fileName => {
100
98
const f = fileName . split ( '/' )
101
99
const integration = f [ 1 ] // get integration name
@@ -104,7 +102,6 @@ async function uploadAssets() {
104
102
const version = package . version
105
103
const filePath = path . join ( localPath , fileName )
106
104
fileName = fileName . replace ( ".gz" , "" )
107
- manifest [ integration ] = version
108
105
await s3 // put latest
109
106
. putObject ( {
110
107
Bucket : bucket ,
@@ -133,16 +130,6 @@ async function uploadAssets() {
133
130
} ) ;
134
131
135
132
await Promise . all ( uploads ) ;
136
- await s3 // upload manifest file
137
- . putObject ( {
138
- Bucket : bucket ,
139
- Key : branch == "master" ? `next-integrations/manifest.json` : `stage/${ branch } /next-integrations/manifest.json` ,
140
- Body : JSON . stringify ( manifest ) ,
141
- CacheControl : 'public,max-age=31536000,immutable' ,
142
- ContentEncoding : process . env . CONTENT_ENCODING ,
143
- ACL : 'public-read' , // this should be changed when we're going to production
144
- ContentType : "application/json"
145
- } ) . promise ( )
146
133
}
147
134
148
135
( async function main ( ) {
0 commit comments