mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-04-14 19:46:54 +00:00
keep-latest script: skip no auto update apps
This commit is contained in:
parent
995211c46e
commit
d57c55cfb9
1 changed files with 1 additions and 0 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in a new issue