Skip to content

Commit

Permalink
[CI] Fix development deployment (1technophile#1866)
Browse files Browse the repository at this point in the history
Containing unwanted files like libraries
  • Loading branch information
1technophile authored Jan 13, 2024
1 parent fc1ce07 commit 24e3ef0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/gen_wu.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 24e3ef0

Please sign in to comment.