From a321d51c385db225ddc08e42852fc59cba7b1992 Mon Sep 17 00:00:00 2001 From: Pedro Algarvio Date: Wed, 12 Feb 2020 15:40:23 +0000 Subject: [PATCH] Support installing stable releases post version schema change --- bootstrap-salt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap-salt.sh b/bootstrap-salt.sh index eaf6f7e..eecdf43 100755 --- a/bootstrap-salt.sh +++ b/bootstrap-salt.sh @@ -606,7 +606,7 @@ elif [ "$ITYPE" = "stable" ]; then if [ "$(echo "$1" | grep -E '^(latest|1\.6|1\.7|2014\.1|2014\.7|2015\.5|2015\.8|2016\.3|2016\.11|2017\.7|2018\.3|2019\.2|3000)$')" != "" ]; then STABLE_REV="$1" shift - elif [ "$(echo "$1" | grep -E '^(2[0-9]*\.[0-9]*\.[0-9]*|[3-9][0-9]*(\.[0-9]*)?)$')" != "" ]; then + elif [ "$(echo "$1" | grep -E '^(2[0-9]*\.[0-9]*\.[0-9]*|[3-9][0-9]{3}*(\.[0-9]*)?)$')" != "" ]; then if [ "$(uname)" = "Darwin" ]; then STABLE_REV="$1" else