1
0
mirror of https://github.com/rancher/rke.git synced 2025-08-31 22:46:25 +00:00

added rke --quiet and config --list-version, linting refactor

This commit is contained in:
Luther Monson
2019-08-23 12:51:34 -07:00
committed by Craig Jellick
parent 16a1a5e250
commit 3d73507880
3 changed files with 64 additions and 24 deletions

View File

@@ -24,7 +24,7 @@ cd $(dirname $0)/..
# Get latest version from rke
all_versions=$(./bin/rke --debug config --all --system-images 2>&1 | grep "Generating images list for version" | sed -E 's/.*\[(.*)\].*/\1/' | sort -V)
all_versions=$(./bin/rke --quiet config --all --list-version | sort -V)
# Get the latest of the major.minor versions.
for ver in $all_versions; do