From bb30b4bb6c5bccd52c9bf4f97a235bc7f459175b Mon Sep 17 00:00:00 2001 From: Slug-Boi Date: Mon, 17 Nov 2025 07:56:33 +0100 Subject: [PATCH] ci: updated makefile to include the ldflags version definition. This should default to undefined now if the env var was not set --- makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/makefile b/makefile index 302f3c4..3e4a707 100644 --- a/makefile +++ b/makefile @@ -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}"