From 4c80f513f537eb5d3c7257088d9ee0ba56aa49df Mon Sep 17 00:00:00 2001 From: linsui <2873532-linsui@users.noreply.gitlab.com> Date: Tue, 10 Sep 2024 20:13:48 +0800 Subject: [PATCH] keep-latest script: print commit hashes --- tools/keep-latest.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/keep-latest.sh b/tools/keep-latest.sh index bd6d1b7e8b..cb6a535ff6 100755 --- a/tools/keep-latest.sh +++ b/tools/keep-latest.sh @@ -3,6 +3,8 @@ set -e 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 "HEAD at: $(git rev-parse HEAD)" changed_files=$(git diff --name-only "$last_commit" HEAD) for file in $changed_files; do