diff --git a/hooks/pre-commit b/hooks/pre-commit index 52b0085a31..d642303a75 100755 --- a/hooks/pre-commit +++ b/hooks/pre-commit @@ -7,7 +7,7 @@ set -o pipefail # Redirect output to stderr. exec 1>&2 -apps="$(git diff --cached --name-only --diff-filter=ACM | sed -n 's,metadata/\([^/]*\)\.txt,\1,p')" +apps="$(git diff --cached --name-only --diff-filter=ACM | sed -n 's,metadata/\([^/]*\)\.yml,\1,p')" if [[ -n "$apps" ]]; then fdroid lint -f $apps