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"
|
||||
},
|
||||
"dependencies": {},
|
||||
"version": "1.7.1",
|
||||
"version": "1.6.0",
|
||||
"frameworks": "arduino",
|
||||
"platforms": "espressif32"
|
||||
}
|
||||
|
||||
@ -42,19 +42,12 @@ def createZip(source, target, env):
|
||||
print('\nCreating "' + archive.filename + '"', end="\n")
|
||||
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"
|
||||
version = env["PROGNAME"].split("-")[1]
|
||||
new_install_prompt_erase = True
|
||||
|
||||
print("Creating manifest.json")
|
||||
|
||||
print("[PARTITIONS]: {}".format(partitions))
|
||||
|
||||
temp = []
|
||||
for [offset, path] in partitions:
|
||||
# join the offset and path into a space separated string
|
||||
@ -78,11 +71,6 @@ def createZip(source, target, env):
|
||||
}
|
||||
parts.append(partition)
|
||||
|
||||
""" for [offset, path] in partitions:
|
||||
filename = basename(path)
|
||||
archive.write(path, filename)
|
||||
"""
|
||||
|
||||
manifest = {
|
||||
"name": name,
|
||||
"version": version,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user