Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
fix(makefile): inject version ldflags into make daemon/multica/cli targets (#5054)
Gabriel Lopez-Seco5812158ded31
diff --git a/Makefile b/Makefileindex 0e4457666a..ad771fc4d0 100644--- a/Makefile+++ b/Makefile@@ -307,7 +307,7 @@ cli: ## Run the multica CLI with ARGS or MULTICA_ARGS from source@$(MAKE) multica MULTICA_ARGS="$(MULTICA_ARGS)"multica: ## Run the multica CLI entrypoint directly from the Go source tree- cd server && go run ./cmd/multica $(MULTICA_ARGS)+ cd server && go run -ldflags "-X main.version=$(VERSION) -X main.commit=$(COMMIT) -X main.date=$(DATE)" ./cmd/multica $(MULTICA_ARGS)VERSION ?= $(shell git describe --tags --match 'v[0-9]*' --always --dirty 2>/dev/null || echo dev)COMMIT ?= $(shell git rev-parse --short HEAD 2>/dev/null || echo unknown)