Makefile: create files with sha256 checksums during make release

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/19
This commit is contained in:
Aliaksandr Valialkin 2019-11-20 22:43:13 +02:00
parent 74e563ca3f
commit aeea59e280

View File

@ -38,12 +38,14 @@ release: \
release-vmutils release-vmutils
release-victoria-metrics: victoria-metrics-prod 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: \ release-vmutils: \
vmbackup-prod \ vmbackup-prod \
vmrestore-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: pprof-cpu:
go tool pprof -trim_path=github.com/VictoriaMetrics/VictoriaMetrics@ $(PPROF_FILE) go tool pprof -trim_path=github.com/VictoriaMetrics/VictoriaMetrics@ $(PPROF_FILE)