From 4b02670049f63e0c98e572c15765b8b2c65b82d1 Mon Sep 17 00:00:00 2001 From: Evan Lezar Date: Fri, 7 Oct 2022 14:31:49 +0200 Subject: [PATCH] Use 40 digit sha for version string Signed-off-by: Evan Lezar --- versions.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versions.mk b/versions.mk index 9060ad98..d316821e 100644 --- a/versions.mk +++ b/versions.mk @@ -28,4 +28,4 @@ LIBNVIDIA_CONTAINER0_VERSION := 0.10.0+jetpack CUDA_VERSION := 11.8.0 GOLANG_VERSION := 1.17.8 -GIT_COMMIT ?= $(shell git describe --match="" --dirty --long --always 2> /dev/null || echo "") +GIT_COMMIT ?= $(shell git describe --match="" --dirty --long --always --abbrev=40 2> /dev/null || echo "")