Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8890a60

Browse files
committed
fix(idf_version): Add error if IDF version is not found
1 parentc0800c7 commit8890a60

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎.github/scripts/update-version.sh‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ ESP_ARDUINO_VERSION="$ESP_ARDUINO_VERSION_MAJOR.$ESP_ARDUINO_VERSION_MINOR.$ESP_
2626

2727
# 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)
2828
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
2933

3034
echo"New Arduino Version:$ESP_ARDUINO_VERSION"
3135
echo"ESP-IDF Version:$ESP_IDF_VERSION"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp