1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-14 16:26:13 +01:00

fix extra parameters for manual release as wanted by api

This commit is contained in:
Adrian Schröter 2015-09-07 12:37:33 +02:00
parent 0b34cb4567
commit 7bb0c4b730

View File

@ -2861,9 +2861,11 @@ Please submit there instead, or use --nodevelproject to force direct submission.
query = { 'cmd': 'release' } query = { 'cmd': 'release' }
if opts.target_project: if opts.target_project:
query["targetproject"] = opts.target_project query["target_project"] = opts.target_project
if opts.target_repository: if opts.target_repository:
query["targetrepository"] = opts.target_repository query["target_repository"] = opts.target_repository
if opts.repo:
query["repository"] = opts.repo
if opts.set_release: if opts.set_release:
query["setrelease"] = opts.set_release query["setrelease"] = opts.set_release
baseurl = ['source', source_project] baseurl = ['source', source_project]