Skip to content

Commit 331d121

Browse files
committed
fix(ci): Fixed noglib tags and description generating
1 parent c0e8ffa commit 331d121

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

.github/ci/bsp_noglib.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,14 @@ def remove_esp_lvgl_port(bsp_path):
4545
del deps["lvgl/lvgl"]
4646
except KeyError:
4747
print("{}: no lvgl dependency found".format(str(bsp_path)))
48-
manager.manifest_tree["description"] = manager.manifest_tree["description"] + ' with no graphical library'
48+
49+
manager.manifest.description = manager.manifest.description + ' with no graphical library'
4950

5051
# Add 'noglib' tag
51-
tags = manager.manifest_tree.get("tags", [])
52-
tags.append("noglib")
53-
manager.manifest_tree["tags"] = list(set(tags)) # make unique
52+
tags = manager.manifest.tags or []
53+
if "noglib" not in tags:
54+
tags.append("noglib")
55+
manager.manifest.tags = tags
5456

5557
manager.dump()
5658
return 0

bsp/esp32_p4_eye/idf_component.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
version: "2.0.0~1"
2+
version: "2.0.0~2"
33
description: Board Support Package (BSP) for ESP32-P4-EYE
44
url: https://github.com/espressif/esp-bsp/tree/master/bsp/esp32_p4_eye
55

bsp/esp32_p4_function_ev_board/idf_component.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: "5.1.0~1"
1+
version: "5.1.0~2"
22
description: Board Support Package (BSP) for ESP32-P4 Function EV Board (preview)
33
url: https://github.com/espressif/esp-bsp/tree/master/bsp/esp32_p4_function_ev_board
44

0 commit comments

Comments
 (0)