From 45bcee5f336d6c0c4dfb4b51e16bba20b4d09236 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 22 Oct 2011 14:05:54 +0200 Subject: [PATCH] add support for git submodules --- debian_build.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian_build.py b/debian_build.py index bd38c89..b0958b7 100755 --- a/debian_build.py +++ b/debian_build.py @@ -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') -- 2.39.5