Makefile: add make release rule for building release tar.gz file with cluster binaries

Fixes https://github.com/VictoriaMetrics/VictoriaMetrics/issues/146
This commit is contained in:
Aliaksandr Valialkin 2019-08-15 14:05:17 +03:00
parent c15dfc6cea
commit 1dd736a75c

View File

@ -37,6 +37,12 @@ package: \
package-vmselect \ package-vmselect \
package-vminsert 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: fmt:
GO111MODULE=on gofmt -l -w -s ./lib GO111MODULE=on gofmt -l -w -s ./lib
GO111MODULE=on gofmt -l -w -s ./app GO111MODULE=on gofmt -l -w -s ./app