mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-07-16 11:11:45 +00:00
hooks/pre-commit: only look for .yml files
This commit is contained in:
parent
894e1a8be0
commit
47c0894f03
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ set -o pipefail
|
||||||
# Redirect output to stderr.
|
# Redirect output to stderr.
|
||||||
exec 1>&2
|
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
|
if [[ -n "$apps" ]]; then
|
||||||
fdroid lint -f $apps
|
fdroid lint -f $apps
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue