X-Git-Url: https://ruderich.org/simon/gitweb/?p=safcm%2Fsafcm.git;a=blobdiff_plain;f=Makefile;h=b21ed3d0893740fd8fe2f590065f1f60738e43a2;hp=4bf77c25414480744a3747898e44fa803c83dba0;hb=2804606f9f8dc5078c38580bac363b47eb638620;hpb=fd97e8019e2ab166d9475ed59782c86247d8430b 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