From aa8dae7c5b7035e086bd60b3d354ffa43c30caf7 Mon Sep 17 00:00:00 2001 From: ldelossa Date: Mon, 7 Sep 2020 13:00:15 -0400 Subject: [PATCH] bugfix: only build jira tool with gox previosly running the "make all" target build th schema binary with the same name as the jira binaries. This caused the schema tool to be called incorrectly. Gox performing parallel builds made this issue only happen "somtimes". Signed-off-by: ldelossa --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 156262c1..21e5ccfe 100644 --- a/Makefile +++ b/Makefile @@ -42,7 +42,7 @@ all: GO111MODULE=off $(GO) get -u github.com/mitchellh/gox rm -rf dist mkdir -p dist - gox -ldflags="-w -s" -output="dist/github.com/go-jira/jira-{{.OS}}-{{.Arch}}" -osarch="darwin/amd64 linux/386 linux/amd64 windows/386 windows/amd64" ./... + gox -ldflags="-w -s" -output="dist/github.com/go-jira/jira-{{.OS}}-{{.Arch}}" -osarch="darwin/amd64 linux/386 linux/amd64 windows/386 windows/amd64" ./cmd/jira install: ${MAKE} GOBIN=$$HOME/bin build