From bee24c209bf74cc833808620106cafdce15714b3 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 24 Apr 2017 15:12:22 +0200 Subject: reproducible fdroid: manually fetch commits for fdroid_build_apps Signed-off-by: Holger Levsen --- bin/reproducible_fdroid_build_apps.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin/reproducible_fdroid_build_apps.sh') 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 -- cgit v1.2.3-54-g00ecf