mirror of
https://github.com/78/xiaozhi-esp32.git
synced 2026-02-27 14:26:36 +00:00
Bump project version to 2.2.3 and fix release.py (#1771)
* chore: Bump project version to 2.2.3 and refactor board configuration parsing in release script - Updated PROJECT_VER in CMakeLists.txt from 2.2.2 to 2.2.3. - Refactored the board configuration parsing logic in release.py to improve clarity and efficiency by eliminating the mapping function and directly searching for the board type in the CMakeLists.txt file. * refactor: Remove unused system_info.h include and delete obsolete source root file - Removed the inclusion of system_info.h in main.cc as it was no longer needed. - Deleted the _codeql_detected_source_root file, which was obsolete. * feat: Add lcd_init_cmds.h include for display initialization in esp32-p4-nano board - Included the lcd_init_cmds.h header file in esp32-p4-nano.cc to support display initialization commands, enhancing the board's functionality. * chore: Update build workflow and board configuration files - Changed the build job name in the GitHub Actions workflow to use the full name of the matrix variant for better clarity. - Refactored CMakeLists.txt to improve the formatting of the BOARD_SOURCES file globbing. - Added manufacturer information to the config.json files for the eda-robot-pro, eda-super-bear, and eda-tv-pro boards to ensure consistency in configuration.
This commit is contained in:
@@ -126,11 +126,14 @@ def rename_artifact(original_name: str, version: str) -> str:
|
||||
- Remove "xiaozhi_" prefix
|
||||
- Remove hash suffix (underscore followed by hex string)
|
||||
- Add version prefix (e.g., "v2.0.4_")
|
||||
- Change extension to .zip
|
||||
- Add .zip extension
|
||||
|
||||
Example:
|
||||
xiaozhi_atk-dnesp32s3-box0_43ef2f4e7f0957dc62ec7d628ac2819d226127b8.bin
|
||||
Examples:
|
||||
xiaozhi_atk-dnesp32s3-box0_43ef2f4e7f0957dc62ec7d628ac2819d226127b8
|
||||
-> v2.0.4_atk-dnesp32s3-box0.zip
|
||||
|
||||
xiaozhi_waveshare-esp32-p4-nano-10.1-a_43ef2f4e7f0957dc62ec7d628ac2819d226127b8
|
||||
-> v2.0.4_waveshare-esp32-p4-nano-10.1-a.zip
|
||||
|
||||
Args:
|
||||
original_name: Original artifact name
|
||||
|
||||
Reference in New Issue
Block a user