From d1d3c70530a0f3c32b209c1857b5424f83e4b55d Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Fri, 15 Nov 2019 03:46:18 +0000 Subject: [PATCH] Same release targets as gitea (#73) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9280859..9270ee3 100644 --- a/Makefile +++ b/Makefile @@ -157,7 +157,7 @@ release-linux: @hash xgo > /dev/null 2>&1; if [ $$? -ne 0 ]; then \ $(GO) get -u src.techknowlogick.com/xgo; \ fi - xgo -dest $(DIST)/binaries -tags 'netgo $(TAGS)' -ldflags '-linkmode external -extldflags "-static" $(LDFLAGS)' -targets 'linux/*' -out tea-$(VERSION) . + xgo -dest $(DIST)/binaries -tags 'netgo $(TAGS)' -ldflags '-linkmode external -extldflags "-static" $(LDFLAGS)' -targets 'linux/amd64,linux/386,linux/arm-5,linux/arm-6,linux/arm64,linux/mips64le,linux/mips,linux/mipsle' -out tea-$(VERSION) . ifeq ($(CI),drone) cp /build/* $(DIST)/binaries endif