mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
Makefile: add release-victoria-metrics-arm64
build rule
This commit is contained in:
parent
689d769b4d
commit
cc379f95c2
1 changed files with 17 additions and 3 deletions
20
Makefile
20
Makefile
|
@ -64,9 +64,23 @@ release: \
|
||||||
release-victoria-metrics \
|
release-victoria-metrics \
|
||||||
release-vmutils
|
release-vmutils
|
||||||
|
|
||||||
release-victoria-metrics: victoria-metrics-prod
|
release-victoria-metrics: \
|
||||||
cd bin && tar czf victoria-metrics-$(PKG_TAG).tar.gz victoria-metrics-prod && \
|
release-victoria-metrics-amd64 \
|
||||||
sha256sum victoria-metrics-$(PKG_TAG).tar.gz > victoria-metrics-$(PKG_TAG)_checksums.txt
|
release-victoria-metrics-arm64
|
||||||
|
|
||||||
|
release-victoria-metrics-amd64:
|
||||||
|
GOARCH=amd64 $(MAKE) release-victoria-metrics-generic
|
||||||
|
|
||||||
|
release-victoria-metrics-arm64:
|
||||||
|
GOARCH=arm64 $(MAKE) release-victoria-metrics-generic
|
||||||
|
|
||||||
|
release-victoria-metrics-generic: victoria-metrics-$(GOARCH)-prod
|
||||||
|
cd bin && \
|
||||||
|
tar --transform="flags=r;s|-$(GOARCH)||" -czf victoria-metrics-$(GOARCH)-$(PKG_TAG).tar.gz \
|
||||||
|
victoria-metrics-$(GOARCH)-prod \
|
||||||
|
&& sha256sum victoria-metrics-$(GOARCH)-$(PKG_TAG).tar.gz \
|
||||||
|
victoria-metrics-$(GOARCH)-prod \
|
||||||
|
| sed s/-$(GOARCH)// > victoria-metrics-$(GOARCH)-$(PKG_TAG)_checksums.txt
|
||||||
|
|
||||||
release-vmutils: \
|
release-vmutils: \
|
||||||
release-vmutils-amd64 \
|
release-vmutils-amd64 \
|
||||||
|
|
Loading…
Reference in a new issue