Skip to content

Commit 24cbf60

Browse files
authored
Update build.sh
1 parent 89add57 commit 24cbf60

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -252,8 +252,9 @@ fi
252252

253253
# Generate PlatformIO framework manifest file
254254
rm -rf "$AR_ROOT/package.json"
255+
AR_VERSION=$(jq -c '.version' "$AR_COMPS/arduino/package.json" | tr -d '"')
255256
if [ "$BUILD_TYPE" = "all" ]; then
256-
python3 ./tools/gen_pio_frmwk_manifest.py -o "$AR_ROOT/" -s "$IDF_BRANCH" -c "$IDF_COMMIT"
257+
python3 ./tools/gen_pio_frmwk_manifest.py -o "$AR_ROOT/" -s "v$AR_VERSION" -c "$IDF_COMMIT"
257258
if [ $? -ne 0 ]; then exit 1; fi
258259
fi
259260

0 commit comments

Comments
 (0)