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:
@@ -143,10 +143,8 @@ def main():
|
|||||||
if head_sha == requested_sha:
|
if head_sha == requested_sha:
|
||||||
print('Request releases from HEAD on %s' % branch)
|
print('Request releases from HEAD on %s' % branch)
|
||||||
else:
|
else:
|
||||||
git_log(
|
git_log(workdir, project['repo'], 'Release will NOT include',
|
||||||
'Release will NOT include',
|
'%s..%s' % (requested_sha, head_sha))
|
||||||
'%s..%s' % (requested_sha, head_sha),
|
|
||||||
)
|
|
||||||
|
|
||||||
# Show more details about the commit being tagged.
|
# Show more details about the commit being tagged.
|
||||||
print()
|
print()
|
||||||
|
|||||||
Reference in New Issue
Block a user