Skip to content

Commit

Permalink
Store files in order as in manifest json
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason2866 committed Dec 21, 2023
1 parent b3d16de commit b911b9b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build-zip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,12 @@ JSON_STRING=$( jq -n \
printf "$JSON_STRING" > build-files/manifest.json
cd build-files
zip -0 mgos32-to-tasmota32-$shelly_device.zip manifest.json $boot_file $partition_file $otadata_file $app_file $fs_file
zip -0 mgos32-to-tasmota32-$shelly_device.zip manifest.json
zip -0 mgos32-to-tasmota32-$shelly_device.zip $boot_file
zip -0 mgos32-to-tasmota32-$shelly_device.zip $partition_file
zip -0 mgos32-to-tasmota32-$shelly_device.zip $otadata_file
zip -0 mgos32-to-tasmota32-$shelly_device.zip $app_file
zip -0 mgos32-to-tasmota32-$shelly_device.zip $fs_file
mv mgos32-to-tasmota32-$shelly_device.zip ../output/
cd ..
Expand Down

0 comments on commit b911b9b

Please sign in to comment.