gnu: ci: Truncate git commit in ISO label.
* gnu/ci.scm (image-jobs): Keep only 7 characters from git commit in ISO label.master
parent
e9c7bf42e7
commit
7596ae1034
|
@ -237,7 +237,10 @@ system.")
|
||||||
(image
|
(image
|
||||||
(inherit (image-with-label
|
(inherit (image-with-label
|
||||||
iso9660-image
|
iso9660-image
|
||||||
(string-append "GUIX_" system "_" %guix-version)))
|
(string-append "GUIX_" system "_"
|
||||||
|
(if (> (string-length %guix-version) 7)
|
||||||
|
(substring %guix-version 0 7)
|
||||||
|
%guix-version))))
|
||||||
(operating-system installation-os))))
|
(operating-system installation-os))))
|
||||||
;; Only cross-compile Guix System images from x86_64-linux for now.
|
;; Only cross-compile Guix System images from x86_64-linux for now.
|
||||||
,@(if (string=? system "x86_64-linux")
|
,@(if (string=? system "x86_64-linux")
|
||||||
|
|
Reference in New Issue