From 993b42517858a62394722f0c1a010b61f92d170c Mon Sep 17 00:00:00 2001 From: cnbattle Date: Fri, 21 Oct 2022 15:56:58 +0800 Subject: [PATCH] fix gox --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 26ba3651..25d617d2 100644 --- a/Makefile +++ b/Makefile @@ -80,7 +80,7 @@ release-dirs: release-build: @which gox > /dev/null; if [ $$? -ne 0 ]; then \ - $(GO) get -u github.com/mitchellh/gox; \ + $(GO) install github.com/mitchellh/gox@latest; \ fi gox -os="$(TARGETS)" -arch="$(ARCHS)" -tags="$(TAGS)" -ldflags="-s -w $(LDFLAGS)" -output="$(DIST)/binaries/$(EXECUTABLE)-$(VERSION)-{{.OS}}-{{.Arch}}"