mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
Update prereqs.sh to get proper version of binary files.
When test-network-k8s is called with a specific but not the last version of Fabric hyper-ledger and the binary files are not available into ./bin folder, the script always downloaded the last version of binary files. Signed-off-by: amiramte <71940532+amiramte@users.noreply.github.com>
This commit is contained in:
parent
2fa83c957a
commit
d1c0fc7f7e
1 changed files with 2 additions and 2 deletions
|
|
@ -47,7 +47,7 @@ function check_prereqs() {
|
|||
if [[ $? -ne 0 ]]; then
|
||||
echo "Downloading LATEST Fabric binaries and config"
|
||||
curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/main/scripts/bootstrap.sh \
|
||||
| bash -s -- -s -d
|
||||
| bash -s -- ${FABRIC_VERSION} ${FABRIC_CA_VERSION} -s -d
|
||||
|
||||
# remove sample config files extracted by the installation script
|
||||
rm config/configtx.yaml
|
||||
|
|
@ -65,4 +65,4 @@ function check_prereqs() {
|
|||
fi
|
||||
|
||||
set -e
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue