mirror of
https://github.com/espressif/openthread.git
synced 2026-08-10 04:37:47 +00:00
[continuous-integration] fix API change detector (#5589)
This commit is contained in:
@@ -46,7 +46,7 @@ main()
|
||||
|
||||
git fetch --depth 1 origin "${OT_SHA_OLD}"
|
||||
|
||||
if git diff --name-only "${OT_SHA_OLD}" -- include/openthread; then
|
||||
if git diff --name-only --exit-code "${OT_SHA_OLD}" -- include/openthread; then
|
||||
echo 'No OpenThread public APIs updates.'
|
||||
exit 0
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user