build: check git diff against current working dir when checking app vsn
but not the HEAD commit
This commit is contained in:
parent
19e136bb66
commit
acb9bcb603
|
@ -36,7 +36,7 @@ for app in ${APPS}; do
|
||||||
echo "IGNORE: $src_file is newly added"
|
echo "IGNORE: $src_file is newly added"
|
||||||
true
|
true
|
||||||
elif [ "$old_app_version" = "$now_app_version" ]; then
|
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/src" \
|
||||||
-- "$app_path/include" \
|
-- "$app_path/include" \
|
||||||
-- ":(exclude)"$app_path/src/*.appup.src"" \
|
-- ":(exclude)"$app_path/src/*.appup.src"" \
|
||||||
|
|
Loading…
Reference in New Issue