fix releases where SHA is not HEAD

list_changes crashes when not releasing based on HEAD. git_log
is missing parameters

Change-Id: I16f52aa9387729a070eb3f6c800e52bb11b88884
This commit is contained in:
gordon chung
2015-08-21 17:28:53 -04:00
parent bb178b5a2d
commit d120df2cb4

View File

@@ -143,10 +143,8 @@ def main():
if head_sha == requested_sha:
print('Request releases from HEAD on %s' % branch)
else:
git_log(
'Release will NOT include',
'%s..%s' % (requested_sha, head_sha),
)
git_log(workdir, project['repo'], 'Release will NOT include',
'%s..%s' % (requested_sha, head_sha))
# Show more details about the commit being tagged.
print()