ci: updated makefile to include the ldflags version definition. This should default to undefined now if the env var was not set

This commit is contained in:
Slug-Boi
2025-11-17 07:56:33 +01:00
parent ceedf825e1
commit bb30b4bb6c
+3 -1
View File
@@ -1,2 +1,4 @@
Coco_Version ?= "undefined"
build:
go build -C src -o cocommit
go build -C src -o cocommit -ldflags "-X github.com/Slug-Boi/cocommit/src/cmd.Coco_Version=${Coco_Version}"