From ab313792f2c612bea97fbe3b58b988f3f332db89 Mon Sep 17 00:00:00 2001 From: Nate Clark Date: Wed, 30 Nov 2022 17:50:02 -0500 Subject: [PATCH] fix manifest.json construction --- scripts/update-espwebtools-manifest.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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