From 1e1d470035d8ca2f6d8f3b58e68ebe977a425654 Mon Sep 17 00:00:00 2001 From: Denis Mishin Date: Tue, 20 Aug 2024 16:15:15 -0400 Subject: [PATCH] ci: allow to override VERSION in Makefile via env --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5165cbd83..54a8d06d8 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ BUILDTAGS := # Populate version variables # Add to compile time flags -VERSION := $(shell git describe --tags) +VERSION?= $(shell git describe --tags) GITCOMMIT := $(shell git rev-parse --short HEAD) BUILDMETA:= GITUNTRACKEDCHANGES := $(shell git status --porcelain --untracked-files=no)