Преглед на файлове

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

but not the HEAD commit
Zaiming (Stone) Shi преди 3 години
родител
ревизия
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"" \