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:
parent
d06f05e9c8
commit
7d6d827e0b
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user