forked from xiaozhi/xiaozhi-esp32
Bump to 1.5.8
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
# CMakeLists in this exact order for cmake to work correctly
|
# CMakeLists in this exact order for cmake to work correctly
|
||||||
cmake_minimum_required(VERSION 3.16)
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
|
||||||
set(PROJECT_VER "1.5.6")
|
set(PROJECT_VER "1.5.8")
|
||||||
|
|
||||||
# Add this line to disable the specific warning
|
# Add this line to disable the specific warning
|
||||||
add_compile_options(-Wno-missing-field-initializers)
|
add_compile_options(-Wno-missing-field-initializers)
|
||||||
|
|||||||
@@ -4,6 +4,12 @@
|
|||||||
{
|
{
|
||||||
"name": "xingzhi-cube-1.54tft-ml307",
|
"name": "xingzhi-cube-1.54tft-ml307",
|
||||||
"sdkconfig_append": []
|
"sdkconfig_append": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "xingzhi-cube-1.54tft-ml307-wechatui",
|
||||||
|
"sdkconfig_append": [
|
||||||
|
"CONFIG_USE_WECHAT_MESSAGE_STYLE=y"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -73,10 +73,6 @@ def release(board_type, board_config):
|
|||||||
# Print Project Version
|
# Print Project Version
|
||||||
project_version = get_project_version()
|
project_version = get_project_version()
|
||||||
print(f"Project Version: {project_version}", config_path)
|
print(f"Project Version: {project_version}", config_path)
|
||||||
release_path = f"releases/v{project_version}_{board_type}.zip"
|
|
||||||
if os.path.exists(release_path):
|
|
||||||
print(f"跳过 {board_type} 因为 {release_path} 已存在")
|
|
||||||
return
|
|
||||||
|
|
||||||
with open(config_path, "r") as f:
|
with open(config_path, "r") as f:
|
||||||
config = json.load(f)
|
config = json.load(f)
|
||||||
@@ -86,7 +82,11 @@ def release(board_type, board_config):
|
|||||||
for build in builds:
|
for build in builds:
|
||||||
name = build["name"]
|
name = build["name"]
|
||||||
if not name.startswith(board_type):
|
if not name.startswith(board_type):
|
||||||
raise ValueError(f"name {name} 必须 {board_type} 开头")
|
raise ValueError(f"name {name} 必须以 {board_type} 开头")
|
||||||
|
output_path = f"releases/v{project_version}_{name}.zip"
|
||||||
|
if os.path.exists(output_path):
|
||||||
|
print(f"跳过 {board_type} 因为 {output_path} 已存在")
|
||||||
|
continue
|
||||||
|
|
||||||
sdkconfig_append = [f"{board_config}=y"]
|
sdkconfig_append = [f"{board_config}=y"]
|
||||||
for append in build.get("sdkconfig_append", []):
|
for append in build.get("sdkconfig_append", []):
|
||||||
|
|||||||
Reference in New Issue
Block a user