diff --git a/tools/keep-latest.sh b/tools/keep-latest.sh index 46373d4e81..4f72a87ac9 100755 --- a/tools/keep-latest.sh +++ b/tools/keep-latest.sh @@ -8,6 +8,7 @@ echo "HEAD at: $(git rev-parse HEAD)" changed_files=$(git diff --name-only "$last_commit" HEAD) for file in $changed_files; do + grep -q "AutoUpdateMode: None" $file && continue if [[ $file == *.yml && $(dirname "$file") == "metadata" ]]; then diff=$(git diff "$last_commit" HEAD -- "$file") removed_versions=$(grep "\- versionCode: " <<< "$diff" | sed -E -n "s/.*versionCode: ([0-9]+)/\1/p")