From aeea59e2800fc0c41be6723f5f7d6fc7db4c9553 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Wed, 20 Nov 2019 22:43:13 +0200 Subject: [PATCH] Makefile: create files with sha256 checksums during `make release` Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/19 --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 2ce8ff59e..aa9612746 100644 --- a/Makefile +++ b/Makefile @@ -38,12 +38,14 @@ release: \ release-vmutils release-victoria-metrics: victoria-metrics-prod - cd bin && tar czf victoria-metrics-$(PKG_TAG).tar.gz victoria-metrics-prod + cd bin && tar czf victoria-metrics-$(PKG_TAG).tar.gz victoria-metrics-prod && \ + sha256sum victoria-metrics-$(PKG_TAG).tar.gz > victoria-metrics-$(PKG_TAG)_checksums.txt release-vmutils: \ vmbackup-prod \ vmrestore-prod - cd bin && tar czf vmutils-$(PKG_TAG).tar.gz vmbackup-prod vmrestore-prod + cd bin && tar czf vmutils-$(PKG_TAG).tar.gz vmbackup-prod vmrestore-prod && \ + sha256sum vmutils-$(PKG_TAG).tar.gz > vmutils-$(PKG_TAG)_checksums.txt pprof-cpu: go tool pprof -trim_path=github.com/VictoriaMetrics/VictoriaMetrics@ $(PPROF_FILE)