File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -187,11 +187,20 @@ echo "Framework built from
187
187
188
188
# Generate core_version.h
189
189
rm -rf " $AR_ROOT /core_version.h"
190
+ AR_VERSION=$( jq -c ' .version' " $AR_COMPS /arduino/package.json" | tr -d ' "' )
191
+ AR_VERSION_UNDERSCORE=` echo " $AR_VERSION " | tr . _`
190
192
echo " #define ARDUINO_ESP32_GIT_VER 0x$AR_Commit_short
191
193
#define ARDUINO_ESP32_GIT_DESC $AR_VERSION
192
194
#define ARDUINO_ESP32_RELEASE_$AR_VERSION_UNDERSCORE
193
195
#define ARDUINO_ESP32_RELEASE \" $AR_VERSION_UNDERSCORE \" " >> " $AR_ROOT /core_version.h"
194
196
197
+ # Generate PlatformIO framework manifest file
198
+ rm -rf " $AR_ROOT /package.json"
199
+ if [ " $BUILD_TYPE " = " all" ]; then
200
+ python3 ./tools/gen_pio_frmwk_manifest.py -o " $AR_ROOT /" -s " v$AR_VERSION " -c " $IDF_COMMIT "
201
+ if [ $? -ne 0 ]; then exit 1; fi
202
+ fi
203
+
195
204
# update package_esp32_index.template.json
196
205
if [ " $BUILD_TYPE " = " all" ]; then
197
206
python3 ./tools/gen_tools_json.py -i " $IDF_PATH " -j " $AR_COMPS /arduino/package/package_esp32_index.template.json" -o " $AR_OUT /"
You can’t perform that action at this time.
0 commit comments