mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-07-13 17:51:43 +00:00
keep-latest script: only check added and modified files
This commit is contained in:
parent
6c9f2b67a6
commit
23a4baf591
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ set -e
|
||||||
last_commit=$(git log --grep='Update known apks' | grep commit | head -n 1 | sed -E -n 's/commit (.*)/\1/p')
|
last_commit=$(git log --grep='Update known apks' | grep commit | head -n 1 | sed -E -n 's/commit (.*)/\1/p')
|
||||||
echo "Last known apks update at: $last_commit"
|
echo "Last known apks update at: $last_commit"
|
||||||
echo "HEAD at: $(git rev-parse HEAD)"
|
echo "HEAD at: $(git rev-parse HEAD)"
|
||||||
changed_files=$(git diff --name-only "$last_commit" HEAD)
|
changed_files=$(git diff --name-only --diff-filter=AM "$last_commit" HEAD)
|
||||||
|
|
||||||
for file in $changed_files; do
|
for file in $changed_files; do
|
||||||
grep -q "AutoUpdateMode: None" $file && continue
|
grep -q "AutoUpdateMode: None" $file && continue
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue