Skip to content

Commit 1a43ddb

Browse files
authored
Merge pull request #419 from VictoriaMetrics/fix-version
Makefile: fix missing version information in build
2 parents e997c55 + db91035 commit 1a43ddb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
PKG_PREFIX := github.com/VictoriaMetrics/VictoriaLogs
2+
VM_PKG_PREFIX := github.com/VictoriaMetrics/VictoriaMetrics
23

34
MAKE_CONCURRENCY ?= $(shell getconf _NPROCESSORS_ONLN)
45
MAKE_PARALLEL := $(MAKE) -j $(MAKE_CONCURRENCY)
@@ -11,7 +12,7 @@ ifeq ($(PKG_TAG),)
1112
PKG_TAG := $(BUILDINFO_TAG)
1213
endif
1314

14-
GO_BUILDINFO = -X '$(PKG_PREFIX)/lib/buildinfo.Version=$(APP_NAME)-$(DATEINFO_TAG)-$(BUILDINFO_TAG)'
15+
GO_BUILDINFO = -X '$(VM_PKG_PREFIX)/lib/buildinfo.Version=$(APP_NAME)-$(DATEINFO_TAG)-$(BUILDINFO_TAG)'
1516
TAR_OWNERSHIP ?= --owner=1000 --group=1000
1617

1718
.PHONY: $(MAKECMDGOALS)

0 commit comments

Comments
 (0)