We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b979bb commit ac02454Copy full SHA for ac02454
src/cmd-list
@@ -28,6 +28,14 @@ def main():
28
# chop off the microseconds in the delta; don't need that precise
29
print(f" Timestamp: {ts} ({str(delta).split('.')[0]} ago)")
30
print(f" Artifacts: {' '.join(list(m['images']))}")
31
+ git = m.get('coreos-assembler.container-config-git')
32
+ if git:
33
+ config = git['commit']
34
+ if 'branch' in git:
35
+ config = f"{git['branch']} ({config[:12]})"
36
+ if git['dirty'] != "false":
37
+ config += " (dirty)"
38
+ print(f" Config: {config}")
39
if build['id'] in tags:
40
print(f" Tags: {' '.join(tags[build['id']])}")
41
print()
0 commit comments