Merge pull request #510 from nilxam/update_product_ver
Also update product version in Staging1 TestDVD
This commit is contained in:
commit
b96a46a22b
@ -140,8 +140,14 @@ class FreezeCommand(object):
|
|||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
self.build_switch_bootstrap_copy('disable')
|
self.build_switch_bootstrap_copy('disable')
|
||||||
|
|
||||||
|
# Update the version information found in the Test-DVD package, to match openSUSE-release
|
||||||
|
if self.api.item_exists(prj, "openSUSE-release"):
|
||||||
|
version = self.api.package_version(prj, 'openSUSE-release')
|
||||||
|
for arch in ['x86_64', 'ppc64le']:
|
||||||
|
self.update_product_version(prj, 'Test-DVD-' + arch, arch, version)
|
||||||
|
|
||||||
# now try to freeze sub project - much easier
|
# now try to freeze sub project - much easier
|
||||||
if self.api.item_exists(prj + ':DVD'):
|
if self.api.item_exists(prj + ':DVD') and self.api.item_exists(prj, "openSUSE-release"):
|
||||||
self.prj = prj + ':DVD'
|
self.prj = prj + ':DVD'
|
||||||
self.set_links()
|
self.set_links()
|
||||||
self.freeze_prjlinks()
|
self.freeze_prjlinks()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user