only try to diff requirements if there was a previous release
Only try to show the changes in requirements if there was a previous release. Change-Id: I3bed3231994fe53bef13d93abff74c0ab260c1ae
This commit is contained in:
@@ -157,7 +157,8 @@ def main():
|
|||||||
git_range = project['hash']
|
git_range = project['hash']
|
||||||
|
|
||||||
# Show any requirements changes in the upcoming release.
|
# Show any requirements changes in the upcoming release.
|
||||||
git_diff(workdir, project['repo'], git_range, '*requirements*.txt')
|
if start_range:
|
||||||
|
git_diff(workdir, project['repo'], git_range, '*requirements*.txt')
|
||||||
|
|
||||||
# Show the changes since the last release, first as a
|
# Show the changes since the last release, first as a
|
||||||
# graph view so we can check for bad merges, and then with
|
# graph view so we can check for bad merges, and then with
|
||||||
|
|||||||
Reference in New Issue
Block a user