set BUILD_ID only for dev and debug versions

This commit is contained in:
Stefan Allius
2025-04-13 23:44:59 +02:00
parent 279a6c030c
commit f8ac43f183

View File

@@ -32,8 +32,7 @@ rel : STAGE=rel
export BUILD_DATE := ${shell date -Iminutes}
BUILD_ID := ${shell date +'%y%m%d%H%M'}
rel : BUILD_ID=
debug dev : BUILD_ID := ${shell date +'%y%m%d%H%M'}
VERSION := $(shell cat $(SRC)/.version)
export MAJOR := $(shell echo $(VERSION) | cut -f1 -d.)