From a80c8d602bef67f9417706e0749b6143459d1d42 Mon Sep 17 00:00:00 2001 From: Devon Bautista Date: Fri, 2 Aug 2024 14:43:05 -0600 Subject: [PATCH] Makefile: Add --always to git describe --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bacd737..3bdca5e 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ DOCKER ?= docker # Version BUILD := $(shell git rev-parse --short HEAD) -VERSION := $(shell git describe --tags --abbrev=0) +VERSION := $(shell git describe --tags --always --abbrev=0) BINARIES = boot-script-service bss-init GOOS := $(if $(GOOS),$(GOOS),linux) GOARCH := $(if $(GOARCH),$(GOARCH),amd64)