Allow the versions in the make file to be overwritten with ENV variables

This commit is contained in:
Caedis 2025-06-16 01:58:04 -05:00
parent 1674a6666c
commit 02e16eced7
No known key found for this signature in database
GPG Key ID: BBAF42B7147E3157
1 changed files with 2 additions and 2 deletions

View File

@ -2,8 +2,8 @@ BRANCH ?= $(shell git rev-parse --abbrev-ref HEAD)
BUILDDATE ?= $(shell date -u +%FT%T%z) BUILDDATE ?= $(shell date -u +%FT%T%z)
BUILDTS ?= $(shell date -u +%s) BUILDTS ?= $(shell date -u +%s)
REVISION ?= $(shell git rev-parse HEAD) REVISION ?= $(shell git rev-parse HEAD)
VERSION_DEV := 0.4.5-dev$(shell date +%Y%m%d%H%M) VERSION_DEV ?= 0.4.5-dev$(shell date +%Y%m%d%H%M)
VERSION := 0.4.4 VERSION ?= 0.4.4
PROMETHEUS_TAG := github.com/prometheus/common/version PROMETHEUS_TAG := github.com/prometheus/common/version
KVM_PKG_NAME := github.com/jetkvm/kvm KVM_PKG_NAME := github.com/jetkvm/kvm