gitlab-ci: git URL without redirect to avoid warning

This commit is contained in:
Hans-Christoph Steiner 2020-10-21 12:19:15 +02:00
parent 6cd4738e83
commit d37179a4a7
No known key found for this signature in database
GPG key ID: 3E177817BA1B9BFA

View file

@ -22,7 +22,7 @@ lint:
script:
# if this is a merge request fork, then only check relevant apps
- if [ "$CI_PROJECT_NAMESPACE" != "fdroid" ]; then
git fetch https://gitlab.com/fdroid/fdroiddata;
git fetch https://gitlab.com/fdroid/fdroiddata.git;
test -d build || mkdir build;
files=`git diff --name-only --diff-filter=d FETCH_HEAD...HEAD`;
for f in $files; do