From ede7ad3703b5e5cdabe77408cf5fcc84f9c7ff20 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Wed, 28 Aug 2019 01:28:00 +0300 Subject: [PATCH] app/victoria-metrics: add missing `victoria-metrics` prefix to `--version` output when building with `make victoria-metrics` --- app/victoria-metrics/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/victoria-metrics/Makefile b/app/victoria-metrics/Makefile index 746f7ad2d..06139f75d 100644 --- a/app/victoria-metrics/Makefile +++ b/app/victoria-metrics/Makefile @@ -1,6 +1,9 @@ # All these commands must run from repository root. victoria-metrics: + APP_NAME=victoria-metrics $(MAKE) app-via-host-builder + +app-via-host-builder: GO111MODULE=on go build -mod=vendor -ldflags "$(GO_BUILDINFO)" -o bin/victoria-metrics ./app/victoria-metrics victoria-metrics-prod: