Also, when cloning, no need to specify the branch and only download that
one. We already have only a single branch. And forcing master isn't
necessary.
./makebuildserver
# this can be handled in the jenkins job, or here:
-if [ ! -e fdroiddata ]; then
- git clone --depth 1 --branch master --single-branch \
- https://gitlab.com/fdroid/fdroiddata.git fdroiddata
+if [ -e fdroiddata ]; then
+ cd fdroiddata
+ git pull
+ cd ..
+else
+ git clone --depth 1 https://gitlab.com/fdroid/fdroiddata.git fdroiddata
fi
+
cd fdroiddata
echo "build_server_always = True" > config.py
../fdroid build info.guardianproject.checkey