]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
add support for git submodules
authorHolger Levsen <holger@layer-acht.org>
Sat, 22 Oct 2011 12:05:54 +0000 (14:05 +0200)
committerHolger Levsen <holger@layer-acht.org>
Sat, 22 Oct 2011 12:05:54 +0000 (14:05 +0200)
debian_build.py

index bd38c89bcdcb5230dac5374085ee80171601c07b..b0958b7d86239858f0b25ec75369da5337fae689 100755 (executable)
@@ -305,6 +305,10 @@ if __name__ == '__main__':
         logger_loud_error('git checkout %s was not successfull' % GIT_UPSTREAM_BRANCH)
         exit_error()
 
+    # now init and update submodules
+    repo.submodule('init')
+    repo.submodule('update')
+
     # we need to make sure our jenkins config is used, so let's delete any 
     # other config available in repository that might be prefered 
     cleanup_files = ('.gbp.conf', 'debian/gbp.conf', '.git/gbp.conf')