Skip to content

Commit

Permalink
fix manifest.json construction
Browse files Browse the repository at this point in the history
  • Loading branch information
heythisisnate committed Nov 30, 2022
1 parent 15ecc39 commit ab31379
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/update-espwebtools-manifest.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
manifest = JSON.parse(res.body)
puts manifest
build = manifest['builds'].detect{|b| b['chipFamily'] == ENV['CHIP_FAMILY']}
build['parts'] = { path: ENV['RELEASE_IMAGE_URI'], offset: 0 }
build['parts'] = [{ path: ENV['RELEASE_IMAGE_URI'], offset: 0 }]
puts manifest
File.write('assets/manifest.json', JSON.dump(manifest))

0 comments on commit ab31379

Please sign in to comment.