check_diff_start: Handle deliverables with no releases
Change-Id: I3163a42185b0829051b2cb416659593ca1e8b16d
This commit is contained in:
parent
b10c9a4349
commit
c051ae9f9a
@ -86,6 +86,10 @@ def main():
|
|||||||
|
|
||||||
branch = 'stable/' + args.prev_series
|
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
|
# assume the releases are in order and take the last one
|
||||||
new_release = deliverable_info['releases'][-1]
|
new_release = deliverable_info['releases'][-1]
|
||||||
print('version {}'.format(new_release['version']))
|
print('version {}'.format(new_release['version']))
|
||||||
|
Loading…
Reference in New Issue
Block a user