We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e71866 commit ae1bfb5Copy full SHA for ae1bfb5
tools/push-to-arduino.sh
@@ -112,7 +112,7 @@ if [ $LIBS_HAS_COMMIT == "0" ]; then
112
# ToDo: this URL needs to get into Arduino's package.json
113
114
# Download the file
115
- filename=$(basename "$IDF_LIBS_DL_URL")
+ filename="esp32-arduino-libs-$IDF_LIBS_COMMIT.zip"
116
curl -s -O "$IDF_LIBS_DL_URL"
117
118
# Check if the download was successful
@@ -136,6 +136,7 @@ if [ $LIBS_HAS_COMMIT == "0" ]; then
136
echo "Size: $size bytes"
137
echo "SHA-256: $sha256sum"
138
echo "JSON: $AR_OUT/package_esp32_index.template.json"
139
+ cd "$AR_ROOT"
140
python3 tools/add_sdk_json.py -j "$AR_OUT/package_esp32_index.template.json" -n "esp32-arduino-libs" -v "$LIBS_VERSION" -u "$IDF_LIBS_DL_URL" -f "$filename" -s "$size" -c "$sha256sum"
141
if [ $? -ne 0 ]; then exit 1; fi
142
0 commit comments