diff --git a/scripts/update-espwebtools-manifest.rb b/scripts/update-espwebtools-manifest.rb index fda0b96..546c335 100755 --- a/scripts/update-espwebtools-manifest.rb +++ b/scripts/update-espwebtools-manifest.rb @@ -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)) \ No newline at end of file