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 4badd8ebae
commit dcc69dab37
+3 -1
View File
@@ -1,2 +1,4 @@
Coco_Version ?= "undefined"
build: 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}"