Skip to content

Commit 9d4a8e9

Browse files
committed
fix
1 parent d48280c commit 9d4a8e9

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

tools/config.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ AR_USER="lucasssvaz"
2929

3030
# The full name of the repository
3131
AR_REPO="$AR_USER/arduino-esp32"
32-
IDF_REPO="espressif/esp-idf"
32+
IDF_REPO="$AR_USER/esp-idf"
3333
AR_LIBS_REPO="$AR_USER/esp32-arduino-libs"
3434

3535
AR_REPO_URL="https://github.com/$AR_REPO.git"

tools/push-to-arduino.sh

+5-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ git config --global user.email "[email protected]"
2020
# esp32-arduino-libs
2121
#
2222

23-
if [ $LIBS_HAS_ASSET == "0" ]; then
23+
if [ $LIBS_HAS_ASSET == "0" ] && [ $AR_HAS_COMMIT == "0" ]; then
2424
cd "$AR_ROOT"
2525
mkdir -p dist
2626

@@ -81,7 +81,10 @@ if [ $LIBS_HAS_ASSET == "0" ]; then
8181

8282
remote_checksum=$(sha256sum "$remote_file" | awk '{print $1}')
8383
if [ "$local_checksum" != "$remote_checksum" ]; then
84-
echo "Checksum mismatch for downloaded file after retry. Deleting asset and exiting..."
84+
echo "Checksum mismatch for downloaded file after retry"
85+
echo "Local: $local_checksum"
86+
echo "Remote: $remote_checksum"
87+
echo "Deleting asset and exiting..."
8588
if [ `github_release_asset_delete "$AR_LIBS_REPO" "$LIBS_ASSET_ID"` == "0" ]; then
8689
echo "ERROR: Failed to delete asset '$LIBS_ZIP_FILENAME'"
8790
fi

0 commit comments

Comments
 (0)