Skip to content

Commit 4223020

Browse files
committed
FAB-5390 update chaintool URL
update chaintool version and URL to download chaintool binary from nexus repository Change-Id: I871eea4106a6e0c59a3a9660d475026d6d2e5481 Signed-off-by: rameshthoomu <[email protected]>
1 parent d6dc753 commit 4223020

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ PKGNAME = github.com/$(PROJECT_NAME)
5151
CGO_FLAGS = CGO_CFLAGS=" "
5252
ARCH=$(shell uname -m)
5353
MARCH=$(shell go env GOOS)-$(shell go env GOARCH)
54-
CHAINTOOL_RELEASE=v0.10.3
54+
CHAINTOOL_RELEASE=1.0.0
5555
BASEIMAGE_RELEASE=$(shell cat ./.baseimage-release)
5656

5757
# defined in common/metadata/metadata.go
@@ -65,7 +65,7 @@ GO_LDFLAGS = $(patsubst %,-X $(PKGNAME)/common/metadata.%,$(METADATA_VAR))
6565

6666
GO_TAGS ?=
6767

68-
CHAINTOOL_URL ?= https://github.com/hyperledger/fabric-chaintool/releases/download/$(CHAINTOOL_RELEASE)/chaintool
68+
CHAINTOOL_URL ?= https://nexus.hyperledger.org/content/repositories/releases/org/hyperledger/fabric/hyperledger-fabric/chaintool-$(CHAINTOOL_RELEASE)/hyperledger-fabric-chaintool-$(CHAINTOOL_RELEASE).jar
6969

7070
export GO_LDFLAGS
7171

@@ -187,7 +187,7 @@ linter: buildenv
187187
%/chaintool: Makefile
188188
@echo "Installing chaintool"
189189
@mkdir -p $(@D)
190-
curl -L $(CHAINTOOL_URL) > $@
190+
curl -fL $(CHAINTOOL_URL) > $@
191191
chmod +x $@
192192

193193
# We (re)build a package within a docker context but persist the $GOPATH/pkg

0 commit comments

Comments
 (0)