From 132c1ed6811b03992e7be6f6e020f1f14b5a598f Mon Sep 17 00:00:00 2001 From: Stephane Jeandeaux Date: Thu, 21 Nov 2019 15:03:37 +0100 Subject: [PATCH] [path] --- Makefile | 2 +- go.sum | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 651bef4..529147d 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ PKGGOFILES=$(shell go list ./... | grep -v todo-grpc) # build in os and arch and associate to a tag define build-and-associate GOOS=$(1) GOARCH=$(2) go build $(LDFLAGS) -o ./target/$(1)-$(2)-${REPO} ./${REPO}/main.go - GOOS=$(1) GOARCH=$(2) associator $(3) -name $(1)-$(2)-${REPO} -label $(1)-$(2)-${REPO} -content-type application/binary -owner $(OWNER) -repo $(REPO) -tag $(BUILD_VERSION) -file ./target/$(1)-$(2)-${REPO} + GOOS=$(1) GOARCH=$(2) associator $(3) -name $(1)-$(2)-${REPO} -label $(1)-$(2)-${REPO} -content-type application/binary -owner $(OWNER) -repo $(REPO) -tag $(BUILD_VERSION) -path ./target/$(1)-$(2)-${REPO} endef # https://gist.github.com/sjeandeaux/e804578f9fd68d7ba2a5d695bf14f0bc diff --git a/go.sum b/go.sum index 1bb7ed3..4770cc4 100644 --- a/go.sum +++ b/go.sum @@ -301,6 +301,7 @@ gopkg.in/yaml.v2 v2.2.5 h1:ymVxjfMaHvXD8RqPRmzHHsB3VvucivSkIAvJFDI5O3c= gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.6 h1:97YCGUei5WVbkKfogoJQsLwUJ17cWvpLrgNvlcbxikE= gopkg.in/yaml.v2 v2.2.6/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.7 h1:VUgggvou5XRW9mHwD/yXxIYSMtY0zoKQf/v226p2nyo= gopkg.in/yaml.v2 v2.2.7/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gotest.tools v2.1.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= gotest.tools v2.2.0+incompatible h1:VsBPFP1AI068pPrMxtb/S8Zkgf9xEmTLJjfM+P5UIEo=