Skip to content

Commit e2eb8d3

Browse files
authored
add esp32-camera version
1 parent c693284 commit e2eb8d3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,8 @@ for component in `ls "$AR_COMPS"`; do
259259
echo $component_version >> "$AR_TOOLS/esp32-arduino-libs/versions.txt"
260260
fi
261261
done
262+
# esp32-camera version
263+
component_version="esp32-camera: "$(git -C "$AR_COMPS/esp32-camera" symbolic-ref --short HEAD || git -C "$AR_COMPS/esp32-camera" tag --points-at HEAD)" "$(git -C "$AR_COMPS/esp32-camera" rev-parse --short HEAD)
262264
# managed components version
263265
for component in `ls "$AR_MANAGED_COMPS"`; do
264266
if [ -d "$AR_MANAGED_COMPS/$component/.git" ]; then

0 commit comments

Comments
 (0)