mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-23 13:31:48 +01:00
- support release --set-release option
This commit is contained in:
parent
46b8f2613f
commit
714de8519c
3
NEWS
3
NEWS
@ -1,3 +1,6 @@
|
|||||||
|
0.145
|
||||||
|
- allow to use the set-release option when running a manual release
|
||||||
|
|
||||||
0.144
|
0.144
|
||||||
- allow commiting to package sources from linked projects. osc will ask to branch it first.
|
- allow commiting to package sources from linked projects. osc will ask to branch it first.
|
||||||
- group support in bugowner and maintainer command
|
- group support in bugowner and maintainer command
|
||||||
|
@ -2742,6 +2742,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
help='Release only to specified project')
|
help='Release only to specified project')
|
||||||
@cmdln.option('--target-repository', metavar='TARGETREPOSITORY',
|
@cmdln.option('--target-repository', metavar='TARGETREPOSITORY',
|
||||||
help='Release only to specified repository')
|
help='Release only to specified repository')
|
||||||
|
@cmdln.option('--set-release', metavar='RELEASETAG',
|
||||||
|
help='rename binaries during release using this release tag')
|
||||||
def do_release(self, subcmd, opts, *args):
|
def do_release(self, subcmd, opts, *args):
|
||||||
"""${cmd_name}: Release sources and binaries
|
"""${cmd_name}: Release sources and binaries
|
||||||
|
|
||||||
@ -2780,6 +2782,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
query["targetproject"] = opts.target_project
|
query["targetproject"] = opts.target_project
|
||||||
if opts.target_repository:
|
if opts.target_repository:
|
||||||
query["targetrepository"] = opts.target_repository
|
query["targetrepository"] = opts.target_repository
|
||||||
|
if opts.set_release:
|
||||||
|
query["setrelease"] = opts.set_release
|
||||||
baseurl = ['source', source_project]
|
baseurl = ['source', source_project]
|
||||||
if source_package:
|
if source_package:
|
||||||
baseurl.append(source_package)
|
baseurl.append(source_package)
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
|
|
||||||
__version__ = '0.144'
|
__version__ = '0.144git'
|
||||||
|
|
||||||
# __store_version__ is to be incremented when the format of the working copy
|
# __store_version__ is to be incremented when the format of the working copy
|
||||||
# "store" changes in an incompatible way. Please add any needed migration
|
# "store" changes in an incompatible way. Please add any needed migration
|
||||||
|
Loading…
Reference in New Issue
Block a user