mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 03:21:28 +01:00
update latest versions
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
4273797fea
commit
88636ee2d9
|
@ -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}"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user