Skip to content

Commit

Permalink
[FAB-13407] Align fabric-samples with 1.4.0-rc2 release
Browse files Browse the repository at this point in the history
Change-Id: If784ead9b35c89b874078fe3e87e702fd3be5953
Signed-off-by: David Enyeart <enyeart@us.ibm.com>
  • Loading branch information
denyeart committed Dec 20, 2018
1 parent ab46e35 commit 9567985
Show file tree
Hide file tree
Showing 14 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ node ('hyp-x') { // trigger build on x86_64 node
env.ARCH = "amd64"
env.VERSION = sh(returnStdout: true, script: 'curl -O https://raw.githubusercontent.com/hyperledger/fabric/master/Makefile && cat Makefile | grep "BASE_VERSION =" | cut -d "=" -f2').trim()
env.VERSION = "$VERSION" // BASE_VERSION from fabric Makefile
env.BASE_IMAGE_VER = sh(returnStdout: true, script: 'cat Makefile | grep BASEIMAGE_RELEASE= | cut -d "=" -f2').trim() // BASEIMAGE Version from fabric Makefile
env.BASE_IMAGE_VER = sh(returnStdout: true, script: 'cat Makefile | grep "BASEIMAGE_RELEASE =" | cut -d "=" -f2').trim() // BASEIMAGE Version from fabric Makefile
env.IMAGE_TAG = "${ARCH}-${VERSION}-stable" // fabric latest stable version from nexus
env.PROJECT_VERSION = "${VERSION}-stable"
env.BASE_IMAGE_TAG = "${ARCH}-${BASE_IMAGE_VER}" //fabric baseimage version
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The [`scripts/bootstrap.sh`](https://github.com/hyperledger/fabric-samples/blob/
script will preload all of the requisite docker
images for Hyperledger Fabric and tag them with the 'latest' tag. Optionally,
specify a version for fabric, fabric-ca and thirdparty images. Default versions
are 1.4.0-rc1, 1.4.0-rc1 and 0.4.14 respectively.
are 1.4.0-rc2, 1.4.0-rc2 and 0.4.14 respectively.

```bash
./scripts/bootstrap.sh [version] [ca version] [thirdparty_version]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"engine-strict": true,
"license": "Apache-2.0",
"dependencies": {
"fabric-shim": "1.4.0-rc1"
"fabric-shim": "1.4.0-rc2"
}
}
2 changes: 1 addition & 1 deletion chaincode/chaincode_example02/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"engine-strict": true,
"license": "Apache-2.0",
"dependencies": {
"fabric-shim": "1.4.0-rc1"
"fabric-shim": "1.4.0-rc2"
}
}
2 changes: 1 addition & 1 deletion chaincode/fabcar/javascript-low-level/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"engine-strict": true,
"license": "Apache-2.0",
"dependencies": {
"fabric-shim": "1.4.0-rc1"
"fabric-shim": "1.4.0-rc2"
}
}
4 changes: 2 additions & 2 deletions chaincode/fabcar/javascript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"author": "Hyperledger",
"license": "Apache-2.0",
"dependencies": {
"fabric-contract-api": "1.4.0-rc1",
"fabric-shim": "1.4.0-rc1"
"fabric-contract-api": "1.4.0-rc2",
"fabric-shim": "1.4.0-rc2"
},
"devDependencies": {
"chai": "^4.1.2",
Expand Down
4 changes: 2 additions & 2 deletions chaincode/fabcar/typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"author": "Hyperledger",
"license": "Apache-2.0",
"dependencies": {
"fabric-contract-api": "1.4.0-rc1",
"fabric-shim": "1.4.0-rc1"
"fabric-contract-api": "1.4.0-rc2",
"fabric-shim": "1.4.0-rc2"
},
"devDependencies": {
"@types/chai": "^4.1.7",
Expand Down
2 changes: 1 addition & 1 deletion chaincode/marbles02/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"engine-strict": true,
"license": "Apache-2.0",
"dependencies": {
"fabric-shim": "1.4.0-rc1"
"fabric-shim": "1.4.0-rc2"
}
}
4 changes: 2 additions & 2 deletions commercial-paper/organization/digibank/contract/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"author": "hyperledger",
"license": "Apache-2.0",
"dependencies": {
"fabric-contract-api": "1.4.0-rc1",
"fabric-shim": "1.4.0-rc1"
"fabric-contract-api": "1.4.0-rc2",
"fabric-shim": "1.4.0-rc2"
},
"devDependencies": {
"chai": "^4.1.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"author": "hyperledger",
"license": "Apache-2.0",
"dependencies": {
"fabric-contract-api": "1.4.0-rc1",
"fabric-shim": "1.4.0-rc1"
"fabric-contract-api": "1.4.0-rc2",
"fabric-shim": "1.4.0-rc2"
},
"devDependencies": {
"chai": "^4.1.2",
Expand Down
4 changes: 2 additions & 2 deletions fabric-ca/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ an older released version, or from locally built docker images as follows:
and Fabric CA.

b. Older versions of Fabric and Fabric CA can be used by setting the
`FABRIC_TAG` environment variable. For example, `export FABRIC_TAG=1.4.0-rc1`
will run the sample with 1.4.0-rc1 version of Fabric and Fabric CA.
`FABRIC_TAG` environment variable. For example, `export FABRIC_TAG=1.4.0-rc2`
will run the sample with 1.4.0-rc2 version of Fabric and Fabric CA.

c. The sample can also be run with locally built Fabric and Fabric CA
docker images. Fabric and Fabric CA repositories must be cloned with following
Expand Down
2 changes: 1 addition & 1 deletion fabric-ca/makeDocker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# IMPORTANT: The following default FABRIC_TAG value should be updated for each
# release after the fabric-orderer and fabric-peer images have been published
# for the release.
export FABRIC_TAG=${FABRIC_TAG:-1.4.0-rc1}
export FABRIC_TAG=${FABRIC_TAG:-1.4.0-rc2}

export FABRIC_CA_TAG=${FABRIC_CA_TAG:-${FABRIC_TAG}}
export NS=${NS:-hyperledger}
Expand Down
2 changes: 1 addition & 1 deletion fabric-ca/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# By default, this test is run with the latest released docker images.
#
# To run against a specific fabric/fabric-ca version:
# export FABRIC_TAG=1.4.0-rc1
# export FABRIC_TAG=1.4.0-rc2
#
# To run with locally built images:
# export FABRIC_TAG=local
Expand Down
6 changes: 3 additions & 3 deletions scripts/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#

# if version not passed in, default to latest released version
export VERSION=1.4.0-rc1
export VERSION=1.4.0-rc2
# if ca version not passed in, default to latest released version
export CA_VERSION=$VERSION
# current version of thirdparty images (couchdb, kafka and zookeeper) released
Expand All @@ -32,8 +32,8 @@ printHelp() {
echo "-d - bypass docker image download"
echo "-b - bypass download of platform-specific binaries"
echo
echo "e.g. bootstrap.sh 1.4.0-rc1 1.4.0-rc1 0.4.14"
echo "would download docker images and binaries for version 1.4.0-rc1 (fabric) 1.4.0-rc1 (fabric-ca) 0.4.14 (thirdparty)"
echo "e.g. bootstrap.sh 1.4.0-rc2 1.4.0-rc2 0.4.14"
echo "would download docker images and binaries for version 1.4.0-rc2 (fabric) 1.4.0-rc2 (fabric-ca) 0.4.14 (thirdparty)"
}

dockerFabricPull() {
Expand Down

0 comments on commit 9567985

Please sign in to comment.