Skip to content
Snippets Groups Projects
Commit 1296e42b authored by Christos Stavrakakis's avatar Christos Stavrakakis
Browse files

Option for specifying debian branch to use

parent b8f857f8
No related branches found
No related tags found
No related merge requests found
......@@ -140,6 +140,11 @@ def main():
action="store_true",
help="Specifies a source-only build, no binary packages"
" need to be made.")
parser.add_option("--debian-branch",
dest="debian_branch",
default=None,
help="Use this debian branch, instead of"
"auto-discovering the debian branch to use")
(options, args) = parser.parse_args()
......@@ -193,6 +198,9 @@ def main():
versioning.get_python_version()
# Get the debian branch
if options.debian_branch:
debian_branch = options.debian_branch
else:
debian_branch = utils.get_debian_branch(branch)
origin_debian = "origin/" + debian_branch
......
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