Просмотр исходного кода

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

but not the HEAD commit
Zaiming (Stone) Shi 2 лет назад
Родитель
Сommit
acb9bcb603
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      scripts/apps-version-check.sh

+ 1 - 1
scripts/apps-version-check.sh

@@ -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"" \