Commit ee775e00 authored by wbond's avatar wbond

Change formatting of CI output

parent ec54d55d
...@@ -95,14 +95,16 @@ while not filenames: ...@@ -95,14 +95,16 @@ while not filenames:
# existed when it was written # existed when it was written
if not filenames: if not filenames:
if commit_offset == 1: if commit_offset == 1:
print('Skipping commits that contain no package changes:') print('Skipping commits that contain no package changes: ', end='')
else:
print(', ', end='')
short_commit_hash = run(['git', 'rev-parse', 'HEAD~%d' % (commit_offset - 1)])[0:8] short_commit_hash = run(['git', 'rev-parse', 'HEAD~%d' % (commit_offset - 1)])[0:8]
print(' - %s' % short_commit_hash) print(short_commit_hash, end='')
commit_offset += 1 commit_offset += 1
continue continue
if commit_offset > 1: if commit_offset > 1:
print() print('\n')
def package_name(data): def package_name(data):
if 'name' in data: if 'name' in data:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment