diff options
-rwxr-xr-x | bin/reproducible_fdroid_build_apps.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/reproducible_fdroid_build_apps.sh b/bin/reproducible_fdroid_build_apps.sh index 59b26fbd..c85219d7 100755 --- a/bin/reproducible_fdroid_build_apps.sh +++ b/bin/reproducible_fdroid_build_apps.sh @@ -22,11 +22,12 @@ export WORKSPACE=$BASE/fdroid-build if [ -e $WORKSPACE/.git ]; then # reuse the git repo if possible, to keep all the setup in fdroiddata/ cd $WORKSPACE + git fetch --tags git clean -fdx git reset --hard git checkout master + git reset --hard origin/master git clean -fdx - git reset --hard else rm -rf $WORKSPACE git clone https://gitlab.com/eighthave/fdroidserver-for-jenkins.debian.net.git $WORKSPACE |