check_diff_start: Handle deliverables with no releases

Change-Id: I3163a42185b0829051b2cb416659593ca1e8b16d
This commit is contained in:
Sean McGinnis 2018-02-02 14:54:40 -06:00
parent b10c9a4349
commit c051ae9f9a

View File

@ -86,6 +86,10 @@ def main():
branch = 'stable/' + args.prev_series
if not deliverable_info.get('releases'):
print(' no releases')
continue
# assume the releases are in order and take the last one
new_release = deliverable_info['releases'][-1]
print('version {}'.format(new_release['version']))