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:
Doug Hellmann 2017-06-05 14:54:05 -04:00
parent 183ac77a01
commit 99f2e8700b
1 changed files with 4 additions and 1 deletions

View File

@ -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'],