From 8ebd77b00bf284a04506cfd3650da458bcedc309 Mon Sep 17 00:00:00 2001 From: jcleal Date: Thu, 9 Jan 2025 22:01:02 +0000 Subject: [PATCH] Update Makefile.common.mk from root-template-tester:6e37c59. --- Makefile.common.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.common.mk b/Makefile.common.mk index 9cadf81..93639a1 100644 --- a/Makefile.common.mk +++ b/Makefile.common.mk @@ -577,7 +577,7 @@ define build_binary_go GOOS=$(2) GOARCH=$(3) \ go build --trimpath \ -tags lambda.norpc \ - -ldflags "-w -s -X version.Version=$(COMMIT)" \ + -ldflags "-w -s -X main.Version=$(COMMIT)" \ -o dist/$(1)/$(1)-$(2)-$(3)$(call add_windows_suffix,$(2)) ./cmd/$(1) @test -z "$$CI" || echo "##[endgroup]" endef