--- Makefile 2024-08-15 14:27:49 +++ Makefile 2024-08-26 10:40:31 @@ -111,8 +111,8 @@ $(GOCMD) build -o $(OUT_DIR)/cert-manager ./cmd/cert-manager/ .PHONY: build-cli -build-cli: fmt lint-go lint-web web ## Build cli binary. - $(GOCMD) build -o $(OUT_DIR)/glasskube ./cmd/glasskube/ +build-cli: fmt web ## Build cli binary. + $(GOCMD) build -ldflags "-X github.com/glasskube/glasskube/internal/config.Version=$(VERSION)" -o $(OUT_DIR)/glasskube ./cmd/glasskube/ .PHONY: run run: manifests generate fmt ## Run a controller from your host.