ignore deliverable files with no releases listed
We want to allow deliverable files with project metadata but without any releases. Update the script for detecting changes in deliverable files to skip those files. Change-Id: I7039b8344caaa053ae29913699fa8467283722ba Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
f334fa28ee
commit
e195bc5859
@ -69,6 +69,10 @@ def get_modified_deliverable_file_content(reporoot, filenames):
|
||||
with open(filename, 'r') as f:
|
||||
deliverable_data = yaml.load(f.read())
|
||||
|
||||
# If there are no releases listed in this file, skip it.
|
||||
if not deliverable_data.get('releases'):
|
||||
continue
|
||||
|
||||
# Determine whether announcements should include a PyPI
|
||||
# link. Default to no, for service projects, because it is
|
||||
# less irksome to fail to include a link to a thing that
|
||||
|
Loading…
Reference in New Issue
Block a user