Hyperledger Composer Network Upgrade CLI

Hyperledger Composer Network Upgrade


The composer network upgrade utility is used to update a deployed business network archive from local disk to a Hyperledger Fabric runtime.

composer network upgrade -n <business-network-name> -c <card-name>

composer network upgrade upgrades the Hyperledger Composer runtime of the named business network to use a new micro version. Before running the composer network upgrade command, a new version of the Hyperledger Composer runtime must have been installed to a blockchain node by using the composer runtime install command.

Please Note: composer network upgrade is only suitable for upgrading between micro versions of the Hyperledger Composer runtime. Micro versions are defined as the third decimal number of a release, for example, in release 0.9.2, the major version is 0, the minor version is 9, and the micro version is 2.

Options

composer network upgrade [options]

Options:
  --help                       Show help  [boolean]
  -v, --version                Show version number  [boolean]
  --card, -c                 The cardname to use to upgrade the network  [string] [required]
  --businessNetworkName, -n  The business network name  [string] [required]