Cleaner output for snapshots closes #63
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Moritz 2024-10-29 12:29:35 +01:00
parent 3eea69ddee
commit f40eb00435

View File

@ -440,7 +440,7 @@ def path_exists(path):
def snapshots():
snapshots = get_snapshots()
for snap in snapshots:
output = [snap['time'], snap['id']]
output = [snap['time'].split('.')[0], snap['short_id']]
if tags:= snap.get('tags'):
app_versions = app_versions_from_tags(tags)
if version:= app_versions.get(SERVICE):