From a66577eb8728f08146a4a373decdd597416b26e8 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Tue, 6 Nov 2018 15:02:55 -0800 Subject: [PATCH] Add support for using a release tar --- net/net.sh | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/net/net.sh b/net/net.sh index 77744be29a..a4358075c6 100755 --- a/net/net.sh +++ b/net/net.sh @@ -23,11 +23,13 @@ Operate a configured testnet restart - Shortcut for stop then start start-specific options: - -S [snapFilename] - Deploy the specified Snap file - -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 - -f [cargoFeatures] - List of |cargo --feaures=| to activate - (ignored if -s or -S is specified) + -S [snapFilename] - Deploy the specified Snap file + -s edge|beta|stable - Deploy the latest Snap on the specified Snap release channel + -t edge|beta|stable|vX.Y.Z - Deploy the latest tarball release for the + specified release channel (edge|beta|stable) or release tag + (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 network nodes. @@ -78,7 +80,7 @@ while getopts "h?S:s:t:o:f:" opt; do ;; t) case $OPTARG in - edge|beta|stable) + edge|beta|stable|v*) releaseChannel=$OPTARG deployMethod=tar ;;