Add support for using a release tar

This commit is contained in:
Michael Vines
2018-11-06 15:02:55 -08:00
parent 3345d059e8
commit a66577eb87

View File

@ -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
;; ;;