From a950980d2e302547743fb567d0636b766f4e9704 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Mon, 31 May 2021 22:31:13 +0200 Subject: [PATCH] safcm: add commit date to version output --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4bf77c2..b21ed3d 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,6 @@ LDFLAGS = '\ - -X "main.versionGit=$(shell git describe --long --tags --dirty --always)" \ + -X "main.versionGit=$(shell git describe --long --tags --dirty --always) \ +$(shell git show --no-patch --pretty=format:%as)" \ -X "main.versionGo=$(shell go version)" \ ' # Build with `make GOFLAGS=` if -race is not supported -- 2.45.2