Skip to content

Commit

Permalink
update latest versions
Browse files Browse the repository at this point in the history
Signed-off-by: Jess Frazelle <[email protected]>
  • Loading branch information
jessfraz committed Sep 14, 2018
1 parent 4273797 commit 88636ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions bcc
3 changes: 2 additions & 1 deletion latest-versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,13 @@ get_latest_unifi() {

compare() {
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
echo -e "\e[36m${dir}:\e[39m current ${current} | ${tag} | ${name}"
else
# 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}" )
fi
echo -e "\e[31m${dir}:\e[39m current ${current} | ${tag} | ${name} | ${releases}"
Expand Down

0 comments on commit 88636ee

Please sign in to comment.