We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0800c7 commit 8890a60Copy full SHA for 8890a60
.github/scripts/update-version.sh
@@ -26,6 +26,10 @@ ESP_ARDUINO_VERSION="$ESP_ARDUINO_VERSION_MAJOR.$ESP_ARDUINO_VERSION_MINOR.$ESP_
26
27
# Get ESP-IDF version from push.yml (this way we can ensure that the version is correct even if the local libs are not up to date)
28
ESP_IDF_VERSION=$(grep "idf_ver:" .github/workflows/push.yml | sed 's/.*release-v\([^"]*\).*/\1/')
29
+if [ -z "$ESP_IDF_VERSION" ]; then
30
+ echo "Error: ESP-IDF version not found in push.yml" >&2
31
+ exit 1
32
+fi
33
34
echo "New Arduino Version: $ESP_ARDUINO_VERSION"
35
echo "ESP-IDF Version: $ESP_IDF_VERSION"
0 commit comments