We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fbf8143 commit 7c7b4d0Copy full SHA for 7c7b4d0
build.sh
@@ -276,7 +276,11 @@ fi
276
277
# Generate PlatformIO manifest file
278
if [ "$BUILD_TYPE" = "all" ]; then
279
- python3 ./tools/gen_platformio_manifest.py -o "$TOOLS_JSON_OUT/" -s $(git -C "$IDF_PATH" symbolic-ref --short HEAD || git -C "$IDF_PATH" tag --points-at HEAD) -c $(git -C "$IDF_PATH" rev-parse --short HEAD)
+ pushd $IDF_PATH
280
+ ibr=$(git describe --all --exact-match 2>/dev/null)
281
+ ic=$(git -C "$IDF_PATH" rev-parse --short HEAD)
282
+ popd
283
+ python3 ./tools/gen_platformio_manifest.py -o "$TOOLS_JSON_OUT/" -s "$ibr" -c "$ic"
284
if [ $? -ne 0 ]; then exit 1; fi
285
fi
286
0 commit comments