Skip to content

Commit 96d807f

Browse files
correct makefile to embed version
1 parent 6c4fb54 commit 96d807f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ifneq ("$(DIRTY_LINE)", "")
88
DIRTY := +
99
endif
1010
VERSION ?= development
11-
LDFLAGS := -X "main.Version=$(VERSION)-$(COMMIT_HASH)$(DIRTY)"
11+
LDFLAGS := -X "github.com/doomsday-project/doomsday/version.Version=$(VERSION)-$(COMMIT_HASH)$(DIRTY)"
1212
BUILD := go build -v -ldflags='$(LDFLAGS)' -o $(OUTPUT_NAME) $(BUILD_TARGET)
1313

1414
.PHONY: build server darwin darwin-amd64 darwin-arm64 linux linux-amd64 embed tsc all clean

0 commit comments

Comments
 (0)