[CI] Fix development deployment (#1866)
Containing unwanted files like libraries
This commit is contained in:
1 parent
fc1ce0758b
commit
24e3ef07eb
1 file changed
+3
-2
+3
-2
@@ -25,9 +25,10 @@ if dev:
|
|||||||
# copy OTA latest version definition
|
# copy OTA latest version definition
|
||||||
shutil.copy("scripts/latest_version_dev.json",
|
shutil.copy("scripts/latest_version_dev.json",
|
||||||
manif_path + "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):
|
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:
|
else:
|
||||||
print('Generate Web Upload in release mode')
|
print('Generate Web Upload in release mode')
|
||||||
# copy OTA latest version definition
|
# copy OTA latest version definition
|
||||||
|
|||||||
Reference in new issue
Block a user