From 81aa8a43ced55c3f1b1f4de2d1f726501a6da78d Mon Sep 17 00:00:00 2001 From: Xiaoxia Date: Wed, 9 Apr 2025 23:58:32 +0800 Subject: [PATCH] Bump to 1.5.8 --- CMakeLists.txt | 2 +- main/boards/xingzhi-cube-1.54tft-ml307/config.json | 6 ++++++ scripts/release.py | 10 +++++----- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 359019a4..4b93da0b 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,7 @@ # CMakeLists in this exact order for cmake to work correctly 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_compile_options(-Wno-missing-field-initializers) diff --git a/main/boards/xingzhi-cube-1.54tft-ml307/config.json b/main/boards/xingzhi-cube-1.54tft-ml307/config.json index 96112314..e3d5f508 100644 --- a/main/boards/xingzhi-cube-1.54tft-ml307/config.json +++ b/main/boards/xingzhi-cube-1.54tft-ml307/config.json @@ -4,6 +4,12 @@ { "name": "xingzhi-cube-1.54tft-ml307", "sdkconfig_append": [] + }, + { + "name": "xingzhi-cube-1.54tft-ml307-wechatui", + "sdkconfig_append": [ + "CONFIG_USE_WECHAT_MESSAGE_STYLE=y" + ] } ] } \ No newline at end of file diff --git a/scripts/release.py b/scripts/release.py index 99954e15..bfa88d53 100755 --- a/scripts/release.py +++ b/scripts/release.py @@ -73,10 +73,6 @@ def release(board_type, board_config): # Print Project Version project_version = get_project_version() 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: config = json.load(f) @@ -86,7 +82,11 @@ def release(board_type, board_config): for build in builds: name = build["name"] 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"] for append in build.get("sdkconfig_append", []):