build: make release only build the binaries

This commit is contained in:
Christian Schwarz 2023-10-07 15:41:28 +00:00
parent c3b4f01c44
commit 99bf1487ae

View File

@ -48,8 +48,6 @@ printvars:
.PHONY: release wrapup-and-checksum check-git-clean sign clean .PHONY: release wrapup-and-checksum check-git-clean sign clean
release: clean release: clean
# no cross-platform support for target test
$(MAKE) test-go
$(MAKE) bins-all $(MAKE) bins-all
$(MAKE) noarch $(MAKE) noarch
@ -193,7 +191,7 @@ download-circleci-release:
##################### BINARIES ##################### ##################### BINARIES #####################
.PHONY: bins-all lint test-go test-platform cover-merge cover-html vet zrepl-bin test-platform-bin generate-platform-test-list .PHONY: bins-all lint test-go test-platform cover-merge cover-html vet zrepl-bin test-platform-bin generate-platform-test-list
BINS_ALL_TARGETS := zrepl-bin test-platform-bin vet lint BINS_ALL_TARGETS := zrepl-bin test-platform-bin
GO_SUPPORTS_ILLUMOS := $(shell $(GO) version | gawk -F '.' '/^go version /{split($$0, comps, " "); split(comps[3], v, "."); if (v[1] == "go1" && v[2] >= 13) { print "illumos"; } else { print "noillumos"; }}') GO_SUPPORTS_ILLUMOS := $(shell $(GO) version | gawk -F '.' '/^go version /{split($$0, comps, " "); split(comps[3], v, "."); if (v[1] == "go1" && v[2] >= 13) { print "illumos"; } else { print "noillumos"; }}')
bins-all: bins-all:
$(MAKE) $(BINS_ALL_TARGETS) GOOS=freebsd GOARCH=amd64 $(MAKE) $(BINS_ALL_TARGETS) GOOS=freebsd GOARCH=amd64