From 7feca6c6ecf412b8d3d997ed3371bf80884fec3b Mon Sep 17 00:00:00 2001 From: Stepan Kokhanovskiy Date: Sat, 16 Sep 2023 18:09:55 +0300 Subject: [PATCH] Fix git fatal error in forks Signed-off-by: Stepan Kokhanovskiy --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 67bef95e..401c8fbc 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -Version := $(shell git describe --tags --dirty) +Version := $(shell git describe --tags --dirty --always) GitCommit := $(shell git rev-parse HEAD) LDFLAGS := "-X main.version=$(Version) -X main.commit=$(GitCommit)"