Add support for using a release tar
This commit is contained in:
14
net/net.sh
14
net/net.sh
@ -23,11 +23,13 @@ Operate a configured testnet
|
|||||||
restart - Shortcut for stop then start
|
restart - Shortcut for stop then start
|
||||||
|
|
||||||
start-specific options:
|
start-specific options:
|
||||||
-S [snapFilename] - Deploy the specified Snap file
|
-S [snapFilename] - Deploy the specified Snap file
|
||||||
-s edge|beta|stable - Deploy the latest Snap on the specified Snap release channel
|
-s edge|beta|stable - Deploy the latest Snap on the specified Snap release channel
|
||||||
-t edge|beta|stable - Deploy the latest tarball release for the specified channel
|
-t edge|beta|stable|vX.Y.Z - Deploy the latest tarball release for the
|
||||||
-f [cargoFeatures] - List of |cargo --feaures=| to activate
|
specified release channel (edge|beta|stable) or release tag
|
||||||
(ignored if -s or -S is specified)
|
(vX.Y.Z)
|
||||||
|
-f [cargoFeatures] - List of |cargo --feaures=| to activate
|
||||||
|
(ignored if -s or -S is specified)
|
||||||
|
|
||||||
Note: if RUST_LOG is set in the environment it will be propogated into the
|
Note: if RUST_LOG is set in the environment it will be propogated into the
|
||||||
network nodes.
|
network nodes.
|
||||||
@ -78,7 +80,7 @@ while getopts "h?S:s:t:o:f:" opt; do
|
|||||||
;;
|
;;
|
||||||
t)
|
t)
|
||||||
case $OPTARG in
|
case $OPTARG in
|
||||||
edge|beta|stable)
|
edge|beta|stable|v*)
|
||||||
releaseChannel=$OPTARG
|
releaseChannel=$OPTARG
|
||||||
deployMethod=tar
|
deployMethod=tar
|
||||||
;;
|
;;
|
||||||
|
Reference in New Issue
Block a user