Skip to content
Snippets Groups Projects
Verified Commit 2f73184c authored by Andrej Shadura's avatar Andrej Shadura
Browse files

Checkout the Debian branch before importing sources

parent ba2f5f24
No related branches found
No related tags found
1 merge request!52Add pull/merge updates scripts
......@@ -90,6 +90,7 @@ def get_remote_sources(remote_dsc, tmpdir):
return os.path.join(tmpdir, os.path.basename(remote_dsc))
def import_sources(local_dsc, upstream_suite):
run(['git', 'checkout', debian_branch(upstream_suite)])
run(['gbp', 'import-dsc', local_dsc, '--debian-branch=' + debian_branch(upstream_suite), '--upstream-branch='+upstream_branch(upstream_suite), '--no-pristine-tar',
'--author-is-committer', '--author-date-is-committer-date', '--no-sign-tags'
],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment