From 422302011ce1952b2651a26f57298a9444382282 Mon Sep 17 00:00:00 2001 From: rameshthoomu Date: Wed, 19 Jul 2017 20:25:50 +0000 Subject: [PATCH] FAB-5390 update chaintool URL update chaintool version and URL to download chaintool binary from nexus repository Change-Id: I871eea4106a6e0c59a3a9660d475026d6d2e5481 Signed-off-by: rameshthoomu --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 923fee7d29c..e38e63cb738 100755 --- a/Makefile +++ b/Makefile @@ -51,7 +51,7 @@ PKGNAME = github.com/$(PROJECT_NAME) CGO_FLAGS = CGO_CFLAGS=" " ARCH=$(shell uname -m) MARCH=$(shell go env GOOS)-$(shell go env GOARCH) -CHAINTOOL_RELEASE=v0.10.3 +CHAINTOOL_RELEASE=1.0.0 BASEIMAGE_RELEASE=$(shell cat ./.baseimage-release) # defined in common/metadata/metadata.go @@ -65,7 +65,7 @@ GO_LDFLAGS = $(patsubst %,-X $(PKGNAME)/common/metadata.%,$(METADATA_VAR)) GO_TAGS ?= -CHAINTOOL_URL ?= https://github.com/hyperledger/fabric-chaintool/releases/download/$(CHAINTOOL_RELEASE)/chaintool +CHAINTOOL_URL ?= https://nexus.hyperledger.org/content/repositories/releases/org/hyperledger/fabric/hyperledger-fabric/chaintool-$(CHAINTOOL_RELEASE)/hyperledger-fabric-chaintool-$(CHAINTOOL_RELEASE).jar export GO_LDFLAGS @@ -187,7 +187,7 @@ linter: buildenv %/chaintool: Makefile @echo "Installing chaintool" @mkdir -p $(@D) - curl -L $(CHAINTOOL_URL) > $@ + curl -fL $(CHAINTOOL_URL) > $@ chmod +x $@ # We (re)build a package within a docker context but persist the $GOPATH/pkg