mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
FAB-11488 Update CI script
Update byfn_eyfn.sh script to fetch the binaries from the correct nexus url. Change-Id: I0ea675235cc0dce691b8a1bbf30951504f0a8112 Signed-off-by: rameshthoomu <rameshbabu.thoomu@gmail.com>
This commit is contained in:
parent
08aad9ac83
commit
5930dfc06a
1 changed files with 3 additions and 3 deletions
|
|
@ -9,14 +9,14 @@ ARCH=$(dpkg --print-architecture)
|
|||
echo "-----------> ARCH" $ARCH
|
||||
MARCH=$(uname -s|tr '[:upper:]' '[:lower:]')
|
||||
echo "-----------> MARCH" $MARCH
|
||||
MVN_METADATA=$(echo "https://nexus.hyperledger.org/content/repositories/releases/org/hyperledger/fabric/hyperledger-fabric-stable/maven-metadata.xml")
|
||||
VERSION=1.3.0
|
||||
MVN_METADATA=$(echo "https://nexus.hyperledger.org/content/repositories/releases/org/hyperledger/fabric/hyperledger-fabric-$VERSION-stable/maven-metadata.xml")
|
||||
curl -L "$MVN_METADATA" > maven-metadata.xml
|
||||
RELEASE_TAG=$(cat maven-metadata.xml | grep release)
|
||||
COMMIT=$(echo $RELEASE_TAG | awk -F - '{ print $4 }' | cut -d "<" -f1)
|
||||
VERSION=1.3.0
|
||||
echo "-----------> BASE_VERSION = $VERSION"
|
||||
cd $BASE_FOLDER/fabric-samples || exit
|
||||
curl https://nexus.hyperledger.org/content/repositories/releases/org/hyperledger/fabric/hyperledger-fabric-stable/$MARCH-$ARCH.$VERSION-stable-$COMMIT/hyperledger-fabric-stable-$MARCH-$ARCH.$VERSION-stable-$COMMIT.tar.gz | tar xz
|
||||
curl https://nexus.hyperledger.org/content/repositories/releases/org/hyperledger/fabric/hyperledger-fabric-$VERSION-stable/$MARCH-$ARCH.$VERSION-stable-$COMMIT/hyperledger-fabric-$VERSION-stable-$MARCH-$ARCH.$VERSION-stable-$COMMIT.tar.gz | tar xz
|
||||
|
||||
cd first-network || exit
|
||||
export PATH=gopath/src/github.com/hyperledger/fabric-samples/bin:$PATH
|
||||
|
|
|
|||
Loading…
Reference in a new issue