update latest versions

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
Jess Frazelle 2018-09-14 12:20:26 -04:00
parent 4273797fea
commit 88636ee2d9
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3
2 changed files with 3 additions and 1 deletions

1
bcc Symbolic link
View File

@ -0,0 +1 @@
bcc-tools

View File

@ -81,12 +81,13 @@ 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=( "bazel" "bcc" "mc" "nzbget" "powershell" "rstudio" )
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}"
else else
# add to the bad versions # add to the bad versions
if [[ "$dir" != "rstudio" ]] && [[ "$dir" != "bazel" ]] && [[ "$dir" != "mc" ]] && [[ "$dir" != "powershell" ]] && [[ "$dir" != "bcc-tools" ]]; then if [[ ! " ${ignore_dirs[@]} " =~ " ${dir} " ]]; then
bad_versions+=( "${dir}" ) bad_versions+=( "${dir}" )
fi fi
echo -e "\e[31m${dir}:\e[39m current ${current} | ${tag} | ${name} | ${releases}" echo -e "\e[31m${dir}:\e[39m current ${current} | ${tag} | ${name} | ${releases}"