diff --git a/openstack_releases/cmds/list_changes.py b/openstack_releases/cmds/list_changes.py index 853b9990b9..337c67dff6 100644 --- a/openstack_releases/cmds/list_changes.py +++ b/openstack_releases/cmds/list_changes.py @@ -430,19 +430,6 @@ def main(): git_diff(workdir, project['repo'], git_range, '*requirements*.txt') git_diff(workdir, project['repo'], git_range, 'setup.cfg') - # Show the changes since the last release, first as a - # graph view so we can check for bad merges, and then with - # more detail. - git_log(workdir, project['repo'], - 'Release %s will include' % new_release['version'], - git_range, - extra_args=['--graph', '--oneline', '--decorate', - '--topo-order']) - git_log(workdir, project['repo'], - 'Details Contents', - git_range, - extra_args=['--no-merges', '--topo-order']) - # Show any changes in the previous release but not in this # release, in case someone picks an "early" SHA or a # regular commit instead of the appropriate merge commit. @@ -494,4 +481,17 @@ def main(): else: print('SHA NOT FOUND in descendants') + # Show the changes since the last release, first as a + # graph view so we can check for bad merges, and then with + # more detail. + git_log(workdir, project['repo'], + 'Release %s will include' % new_release['version'], + git_range, + extra_args=['--graph', '--oneline', '--decorate', + '--topo-order']) + git_log(workdir, project['repo'], + 'Details Contents', + git_range, + extra_args=['--no-merges', '--topo-order']) + return 0