From 1dd736a75c9075ee87a425b7c9df8d7052bf3b5a Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Thu, 15 Aug 2019 14:05:17 +0300 Subject: [PATCH] Makefile: add `make release` rule for building release tar.gz file with cluster binaries Fixes https://github.com/VictoriaMetrics/VictoriaMetrics/issues/146 --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 3ab2bffa21..73e9443f00 100644 --- a/Makefile +++ b/Makefile @@ -37,6 +37,12 @@ package: \ package-vmselect \ package-vminsert +release: \ + vminsert-prod \ + vmselect-prod \ + vmstorage-prod + cd bin && tar czf victoria-metrics-$(PKG_TAG)-cluster.tar.gz vminsert-prod vmselect-prod vmstorage-prod + fmt: GO111MODULE=on gofmt -l -w -s ./lib GO111MODULE=on gofmt -l -w -s ./app