mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-26 03:25:09 +00:00
Update installChaincode.sh
fix script typo Signed-off-by: jchen8tw <11806483+jchen8tw@users.noreply.github.com>
This commit is contained in:
parent
044e5b78ef
commit
000bbe9315
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ set -e
|
|||
|
||||
echo "========= Installing the newest version of chaincode ================"
|
||||
echo "Chaincode name: $CHAINCODE_NAME"
|
||||
peer lifecycle chaincode package "chaincode/$CHAINCODE_NAME/go/$CHAINCODE_PACKAGE_NAME" -p "chaincode/$CHAINCODE_NAME/go" --label $CHAINCODE_NAME -l node
|
||||
peer lifecycle chaincode package "chaincode/$CHAINCODE_NAME/go/$CHAINCODE_PACKAGE_NAME" -p "chaincode/$CHAINCODE_NAME/go" --label $CHAINCODE_NAME
|
||||
peer lifecycle chaincode install "chaincode/$CHAINCODE_NAME/go/$CHAINCODE_PACKAGE_NAME"
|
||||
CC_PACKAGE_ID=$(peer lifecycle chaincode queryinstalled | tail -n 1 |awk '{print $3}' | tr -d ",")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue