support old independent releases
Don't fail when processing independent releases on branches that have been EOLed. Change-Id: I9fd87d5e2ac08a6bf8abcc811fb92950eb5dd7c6 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
183ac77a01
commit
99f2e8700b
@ -305,7 +305,10 @@ def main():
|
||||
|
||||
header('Relationship to HEAD')
|
||||
if series == '_independent':
|
||||
tag_branch = branches[0]
|
||||
if branches:
|
||||
tag_branch = branches[0]
|
||||
else:
|
||||
tag_branch = branch
|
||||
head_sha = gitutils.sha_for_tag(
|
||||
workdir,
|
||||
project['repo'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user