fix release

This commit is contained in:
Terrence
2025-03-20 14:07:39 +08:00
parent e440aa725a
commit 11c79bf086
2 changed files with 3 additions and 1 deletions

View File

@@ -9,3 +9,5 @@
"CONFIG_LCD_ST7735_128X128=y" "CONFIG_LCD_ST7735_128X128=y"
] ]
} }
]
}

View File

@@ -72,7 +72,7 @@ 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}") print(f"Project Version: {project_version}", config_path)
release_path = f"releases/v{project_version}_{board_type}.zip" release_path = f"releases/v{project_version}_{board_type}.zip"
if os.path.exists(release_path): if os.path.exists(release_path):
print(f"跳过 {board_type} 因为 {release_path} 已存在") print(f"跳过 {board_type} 因为 {release_path} 已存在")