[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible fdroid: manually fetch commits for fdroid_build_apps

Holger Levsen holger at layer-acht.org
Mon Apr 24 13:30:55 UTC 2017


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit bee24c209bf74cc833808620106cafdce15714b3
Author: Hans-Christoph Steiner <hans at eds.org>
Date:   Mon Apr 24 15:12:22 2017 +0200

    reproducible fdroid: manually fetch commits for fdroid_build_apps
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_fdroid_build_apps.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bin/reproducible_fdroid_build_apps.sh b/bin/reproducible_fdroid_build_apps.sh
index 59b26fb..c85219d 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list