build: allow the versions in the Makefile to be overwritten with ENV variables (#619)

This commit is contained in:
Caedis
2025-06-16 04:30:57 -05:00
committed by GitHub
parent 1674a6666c
commit a1ed28c676

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