gitlab-ci: stop looking for metadata/*.txt, they are gone and obsolete!

This commit is contained in:
Hans-Christoph Steiner 2020-05-20 10:36:50 +02:00
parent 1a777506ea
commit db5f0f0081
No known key found for this signature in database
GPG key ID: 3E177817BA1B9BFA

View file

@ -19,8 +19,7 @@ lint:
git fetch https://gitlab.com/fdroid/fdroiddata;
test -d build || mkdir build;
for f in `git diff --name-only --diff-filter=d FETCH_HEAD...HEAD`; do
appid=`echo $f | sed -n -e 's,^metadata/\([^/][^/]*\)\.txt,\1,p'
-e 's,^metadata/\([^/][^/]*\)\.yml,\1,p'`;
appid=`echo $f | sed -n -e 's,^metadata/\([^/][^/]*\)\.yml,\1,p'`;
export CHANGED="$CHANGED $appid";
grep -q "^Repo *Type\W *git$" $f && tail -1 $f | grep -qv '^NoSourceSince' && git -C build clone `sed -n "s,^Repo *:,,p" $f` $appid;
done;