Disable publishing for the product_repo in the test_project directly
- This should fix https://github.com/openSUSE/openSUSE-release-tools/pull/1751#issuecomment-440578557
This commit is contained in:
parent
1f0e92c643
commit
d9225758ce
@ -533,7 +533,8 @@ class ToTestBase(object):
|
||||
release = 'Snapshot%s' % snapshot if snapshot else None
|
||||
logger.info('Updating snapshot %s' % snapshot)
|
||||
if not (self.dryrun or self.norelease):
|
||||
self.api.switch_flag_in_prj(self.test_project, flag='publish', state='disable')
|
||||
self.api.switch_flag_in_prj(self.test_project, flag='publish', state='disable',
|
||||
repository=self.product_repo)
|
||||
|
||||
self._release(set_release=release)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user