From 8d0ac305a004a1bda981ae15362b18218672c31a Mon Sep 17 00:00:00 2001 From: Itay Shakury Date: Thu, 26 Nov 2020 15:22:45 +0000 Subject: [PATCH] fix version detection for release --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b352fe734610..f3a335a73c24 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ CMD_GITHUB ?= gh ARCH ?= $(shell uname -m) KERN_RELEASE ?= $(shell uname -r) KERN_SRC ?= /lib/modules/$(KERN_RELEASE)/build -VERSION := $(if $(RELEASE_TAG), $(RELEASE_TAG), $(shell $(CMD_GIT) describe --tags)) +VERSION := $(if $(RELEASE_TAG),$(RELEASE_TAG),$(shell $(CMD_GIT) describe --tags)) # inputs and outputs: OUT_DIR ?= dist GO_SRC := $(shell find . -type f -name '*.go')