if we're not building from a specific repo_id, use the most recent event_id instead of the repo creation event_id, because config changes could have been made to the dest tag that don't affect the repo
This commit is contained in:
parent
7798b7d87d
commit
9e0ab60c24
1 changed files with 1 additions and 1 deletions
|
|
@ -1693,7 +1693,7 @@ class BuildTask(BaseTaskHandler):
|
|||
session.host.assertPolicy('build_from_repo_id', policy_data)
|
||||
if not repo_info:
|
||||
repo_info = self.getRepo(build_tag) #(subtask)
|
||||
self.event_id = repo_info['create_event']
|
||||
self.event_id = session.getLastEvent()['id']
|
||||
srpm = self.getSRPM(src, build_tag, repo_info['id'])
|
||||
h = self.readSRPMHeader(srpm)
|
||||
data = koji.get_header_fields(h,['name','version','release','epoch'])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue