chore: use metadumper service to create index.json file (#14158)
This commit is contained in:
parent
8b6072b411
commit
59d6c1e063
2 changed files with 23 additions and 23 deletions
|
@ -180,11 +180,7 @@ function uploadNodeShasums () {
|
|||
function uploadIndexJson () {
|
||||
console.log('Uploading index.json to S3.')
|
||||
let scriptPath = path.join(__dirname, 'upload-index-json.py')
|
||||
let scriptArgs = []
|
||||
if (args.automaticRelease) {
|
||||
scriptArgs.push('-R')
|
||||
}
|
||||
runScript(scriptPath, scriptArgs)
|
||||
runScript(scriptPath, [pkgVersion])
|
||||
console.log(`${pass} Done uploading index.json to S3.`)
|
||||
}
|
||||
|
||||
|
@ -275,9 +271,7 @@ async function makeRelease (releaseToValidate) {
|
|||
checkVersion()
|
||||
let draftRelease = await getDraftRelease()
|
||||
uploadNodeShasums()
|
||||
|
||||
// FIXME(codebytere): re-enable later
|
||||
if (process.env.UPLOAD_INDEX_JSON) uploadIndexJson()
|
||||
uploadIndexJson()
|
||||
|
||||
await createReleaseShasums(draftRelease)
|
||||
// Fetch latest version of release before verifying
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue