1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-10-02 09:10:11 +02:00

jenkins-build: git clean before running fdroid cli tests

Otherwise, `fdroid init` will fail since the old repo files are present.
This commit is contained in:
Hans-Christoph Steiner 2017-06-15 17:07:01 +02:00
parent d06f05e9c8
commit 7d6d827e0b
2 changed files with 2 additions and 0 deletions

View File

@ -72,6 +72,7 @@ if [ -e fdroiddata ]; then
git remote update -p
git checkout master
git reset --hard origin/master
# no don't `git clean` here, it'll wipe the APKs in unsigned/
else
git clone https://gitlab.com/fdroid/fdroiddata.git fdroiddata
cd fdroiddata

View File

@ -67,6 +67,7 @@ if [ -e fdroiddata ]; then
git remote update -p
git checkout master
git reset --hard origin/master
git clean -fdx
cd ..
else
git clone --depth 1 https://gitlab.com/fdroid/fdroiddata.git fdroiddata