Merge "protect list-changes from new repos in a deliverable"
This commit is contained in:
commit
eec1266fc7
@ -140,10 +140,12 @@ def main():
|
|||||||
|
|
||||||
start_range = None
|
start_range = None
|
||||||
if previous_release:
|
if previous_release:
|
||||||
projects = previous_release['projects']
|
previous_project = {
|
||||||
previous_project = next(x for x in projects
|
x['repo']: x
|
||||||
if x['repo'] == project['repo'])
|
for x in previous_release['projects']
|
||||||
start_range = previous_project['hash']
|
}.get(project['repo'])
|
||||||
|
if previous_project is not None:
|
||||||
|
start_range = previous_project['hash']
|
||||||
if not start_range:
|
if not start_range:
|
||||||
start_range = (
|
start_range = (
|
||||||
gitutils.get_latest_tag(workdir, project['repo'])
|
gitutils.get_latest_tag(workdir, project['repo'])
|
||||||
|
Loading…
Reference in New Issue
Block a user