1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-08-20 05:28:53 +02:00

add new stage option for the build script

(minor code improvement for handing over release number)
This commit is contained in:
2021-02-18 08:56:22 +01:00
parent 24fb9732f0
commit 2bc186d0ea
3 changed files with 14 additions and 1 deletions

View File

@@ -936,7 +936,12 @@ def main(apiurl, opts, argv):
bi.release = opts.release
if bi.release:
buildargs.append('--release=%s' % bi.release)
buildargs.append('--release')
buildargs.append(bi.release)
if opts.stage:
buildargs.append('--stage')
buildargs.append(opts.stage)
if opts.build_opt:
buildargs += opts.build_opt