From a7be8f8f47e693262abdfa5a9ce554e83b0fa761 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reynir=20Bj=C3=B6rnsson?= Date: Fri, 26 Feb 2021 10:00:37 +0100 Subject: [PATCH] Be consistent with order of sha256 and size --- lib/views.ml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/views.ml b/lib/views.ml index 3db5866..6c86abf 100644 --- a/lib/views.ml +++ b/lib/views.ml @@ -86,8 +86,9 @@ let artifact ?(basename=false) job_name build { Builder_db.filepath; localpath = [if basename then txt (Fpath.basename filepath) else txtf "%a" Fpath.pp filepath]; - txtf " (%a) " Fmt.byte_size size; + txt " "; code [txtf "SHA256:%a" Hex.pp (Hex.of_cstruct sha256)]; + txtf " (%a)" Fmt.byte_size size; ]