fix the build target

This commit is contained in:
Stefan Allius
2025-02-27 22:43:07 +01:00
parent 3f3ed1b14f
commit 8a2ca3ab9a

View File

@@ -25,7 +25,7 @@ INST_BASE=../../ha-addons/ha-addons
TEMPL=templates
# help variable STAGE determine the target to build
dev: STAGE=dev
STAGE=dev
debug : STAGE=debug
rc : STAGE=rc
rel : STAGE=rel
@@ -39,6 +39,7 @@ export MAJOR := $(shell echo $(VERSION) | cut -f1 -d.)
PUBLIC_URL := $(shell echo $(PUBLIC_CONTAINER_REGISTRY) | cut -f1 -d/)
PUBLIC_USER :=$(shell echo $(PUBLIC_CONTAINER_REGISTRY) | cut -f2 -d/)
build: local_add_on
dev debug: local_add_on
@echo version: $(VERSION) build-date: $(BUILD_DATE) image: $(PRIVAT_CONTAINER_REGISTRY)$(IMAGE)