build: fix git diff exclude pattern in app version check script

This commit is contained in:
Zaiming (Stone) Shi 2022-09-20 19:56:56 +02:00
parent b95d3bd6f8
commit bdf78aa1f3
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ check_apps() {
if [ "$old_app_version" = "$now_app_version" ]; then if [ "$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"...HEAD --ignore-blank-lines -G "$no_comment_re" \
-- "$app_path/src" \ -- "$app_path/src" \
-- ":(exclude)'$app_path/src/*.appup.src'" \ -- ":(exclude)$app_path/src/*.appup.src" \
-- "$app_path/priv" \ -- "$app_path/priv" \
-- "$app_path/c_src" | wc -l ) " -- "$app_path/c_src" | wc -l ) "
if [ "$changed_lines" -gt 0 ]; then if [ "$changed_lines" -gt 0 ]; then