From 24e3ef07ebbcbd037d2cee32e41cd1df568f4618 Mon Sep 17 00:00:00 2001 From: Florian Date: Sat, 13 Jan 2024 15:43:18 -0600 Subject: [PATCH] [CI] Fix development deployment (#1866) Containing unwanted files like libraries --- scripts/gen_wu.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/gen_wu.py b/scripts/gen_wu.py index 50d17463e1..ee3a173a04 100644 --- a/scripts/gen_wu.py +++ b/scripts/gen_wu.py @@ -25,9 +25,10 @@ # copy OTA latest version definition shutil.copy("scripts/latest_version_dev.json", manif_path + "latest_version_dev.json") - # copy the content of bin_path to manif_path + # copy the binaries frombin_path to manif_path for name in os.listdir(bin_path): - shutil.copyfile(bin_path + name, (manif_path + name)) + if '.bin' in name: + shutil.copyfile(bin_path + name, (manif_path + name)) else: print('Generate Web Upload in release mode') # copy OTA latest version definition