mirror of
https://github.com/EyeTrackVR/OpenIris.git
synced 2025-11-04 15:39:42 +08:00
ci(ci-binaries): final touches
This commit is contained in:
parent
c5efe306d9
commit
cd8b6b8b8a
@ -20,7 +20,7 @@
|
|||||||
"include": "/lib/src"
|
"include": "/lib/src"
|
||||||
},
|
},
|
||||||
"dependencies": {},
|
"dependencies": {},
|
||||||
"version": "1.7.1",
|
"version": "1.6.0",
|
||||||
"frameworks": "arduino",
|
"frameworks": "arduino",
|
||||||
"platforms": "espressif32"
|
"platforms": "espressif32"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -42,19 +42,12 @@ def createZip(source, target, env):
|
|||||||
print('\nCreating "' + archive.filename + '"', end="\n")
|
print('\nCreating "' + archive.filename + '"', end="\n")
|
||||||
parts = []
|
parts = []
|
||||||
|
|
||||||
# parse version from the PROGNAME
|
|
||||||
# version is the second part of the PROGNAME
|
|
||||||
# PROGNAME = OpenIris-v1.3.0-esp32AIThinker-8229a3a-master
|
|
||||||
# version = v1.3.0
|
|
||||||
|
|
||||||
name = "OpenIris"
|
name = "OpenIris"
|
||||||
version = env["PROGNAME"].split("-")[1]
|
version = env["PROGNAME"].split("-")[1]
|
||||||
new_install_prompt_erase = True
|
new_install_prompt_erase = True
|
||||||
|
|
||||||
print("Creating manifest.json")
|
print("Creating manifest.json")
|
||||||
|
|
||||||
print("[PARTITIONS]: {}".format(partitions))
|
|
||||||
|
|
||||||
temp = []
|
temp = []
|
||||||
for [offset, path] in partitions:
|
for [offset, path] in partitions:
|
||||||
# join the offset and path into a space separated string
|
# join the offset and path into a space separated string
|
||||||
@ -78,11 +71,6 @@ def createZip(source, target, env):
|
|||||||
}
|
}
|
||||||
parts.append(partition)
|
parts.append(partition)
|
||||||
|
|
||||||
""" for [offset, path] in partitions:
|
|
||||||
filename = basename(path)
|
|
||||||
archive.write(path, filename)
|
|
||||||
"""
|
|
||||||
|
|
||||||
manifest = {
|
manifest = {
|
||||||
"name": name,
|
"name": name,
|
||||||
"version": version,
|
"version": version,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user