From 08c2907d443fed69ad92ef97d0c06a1a750b2ac7 Mon Sep 17 00:00:00 2001 From: Zaiming Shi Date: Fri, 15 Oct 2021 10:04:45 +0200 Subject: [PATCH] chore: skip appup file in vsn check script --- scripts/apps-version-check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/apps-version-check.sh b/scripts/apps-version-check.sh index b070e3c45..596f7404a 100755 --- a/scripts/apps-version-check.sh +++ b/scripts/apps-version-check.sh @@ -18,7 +18,7 @@ while read -r app; do changed="$(git diff --name-only "$latest_release"...HEAD \ -- "$app_path/src" \ -- "$app_path/priv" \ - -- "$app_path/c_src" | wc -l)" + -- "$app_path/c_src" | { grep -v -E 'appup\.src' || true; } | wc -l)" if [ "$changed" -gt 0 ]; then echo "$src_file needs a vsn bump" bad_app_count=$(( bad_app_count + 1))