File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -282,9 +282,14 @@ if [ "$BUILD_TYPE" = "all" ]; then
282
282
if [ $? -ne 0 ]; then exit 1; fi
283
283
fi
284
284
285
+ pushd $IDF_PATH
286
+ ibr=$( git describe --all 2> /dev/null)
287
+ ic=$( git -C " $IDF_PATH " rev-parse --short HEAD)
288
+ popd
289
+
285
290
# Generate PlatformIO library manifest file
286
291
if [ " $BUILD_TYPE " = " all" ]; then
287
- python3 ./tools/gen_pio_lib_manifest.py -o " $TOOLS_JSON_OUT /" -s " v $IDF_VERSION " -c " $IDF_COMMIT "
292
+ python3 ./tools/gen_pio_lib_manifest.py -o " $TOOLS_JSON_OUT /" -s " $ibr " -c " $ic "
288
293
if [ $? -ne 0 ]; then exit 1; fi
289
294
fi
290
295
@@ -294,7 +299,7 @@ AR_VERSION_UNDERSCORE=`echo "$AR_VERSION" | tr . _`
294
299
# Generate PlatformIO framework manifest file
295
300
rm -rf " $AR_ROOT /package.json"
296
301
if [ " $BUILD_TYPE " = " all" ]; then
297
- python3 ./tools/gen_pio_frmwk_manifest.py -o " $AR_ROOT /" -s " v$AR_VERSION " -c " $IDF_COMMIT "
302
+ python3 ./tools/gen_pio_frmwk_manifest.py -o " $AR_ROOT /" -s " v$AR_VERSION " -c " $ic "
298
303
if [ $? -ne 0 ]; then exit 1; fi
299
304
fi
300
305
You can’t perform that action at this time.
0 commit comments