Signed-off-by: Jess Frazelle <jess@oxide.computer>
This commit is contained in:
Jess Frazelle 2020-05-15 09:50:34 -07:00
parent c364e0fe33
commit 8aba446ab8
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3

View File

@ -92,7 +92,7 @@ get_latest_unifi() {
compare() { compare() {
local name="$1" dir="$2" tag="$3" current="$4" releases="$5" local name="$1" dir="$2" tag="$3" current="$4" releases="$5"
ignore_dirs=( "mc" ) ignore_dirs=( "mc" "zookeeper/3.6" )
if [[ "$tag" =~ $current ]] || [[ "$name" =~ $current ]] || [[ "$current" =~ $tag ]] || [[ "$current" == "master" ]]; then if [[ "$tag" =~ $current ]] || [[ "$name" =~ $current ]] || [[ "$current" =~ $tag ]] || [[ "$current" == "master" ]]; then
echo -e "\\e[36m${dir}:\\e[39m current ${current} | ${tag} | ${name}" echo -e "\\e[36m${dir}:\\e[39m current ${current} | ${tag} | ${name}"