ci: allow to override VERSION in Makefile via env

This commit is contained in:
Denis Mishin 2024-08-20 16:15:15 -04:00
parent 56ba07e53e
commit 1e1d470035

View file

@ -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)