build: check git diff against current working dir when checking app vsn

but not the HEAD commit
This commit is contained in:
Zaiming (Stone) Shi 2023-03-26 10:46:03 +02:00
parent 19e136bb66
commit acb9bcb603
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ for app in ${APPS}; do
echo "IGNORE: $src_file is newly added"
true
elif [ "$old_app_version" = "$now_app_version" ]; then
changed_lines="$(git diff "$latest_release"...HEAD --ignore-blank-lines -G "$no_comment_re" \
changed_lines="$(git diff "$latest_release" --ignore-blank-lines -G "$no_comment_re" \
-- "$app_path/src" \
-- "$app_path/include" \
-- ":(exclude)"$app_path/src/*.appup.src"" \