fix error/warning reporting for sdist name mismatch
When the sdist doesn't match the expected value, check the project not the deliverable to see if it was set explicitly to build the message. Change-Id: I6d6af1671f1baa47d16895a0b4afc816867fb88f Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
0d8a9262af
commit
2e14c80e73
@ -293,7 +293,7 @@ def validate_releases(deliverable_info, zuul_layout,
|
||||
os.path.basename(project['repo']),
|
||||
)
|
||||
if sdist != expected:
|
||||
if 'tarball-base' in deliverable_info:
|
||||
if 'tarball-base' in project:
|
||||
action = 'is set to'
|
||||
else:
|
||||
action = 'defaults to'
|
||||
|
Loading…
Reference in New Issue
Block a user