update versions

Signed-off-by: Jess Frazelle <acidburn@google.com>
This commit is contained in:
Jess Frazelle
2016-12-02 12:08:26 -08:00
parent 682475d05b
commit 0a0c49c90f
8 changed files with 8 additions and 8 deletions

View File

@@ -28,7 +28,7 @@ get_latest() {
local dir=${repo#*/}
local current=$(cat "${dir}/Dockerfile" | grep -m 1 VERSION | awk '{print $(NF)}')
if [[ "$tag" =~ "$current" ]]; then
if [[ "$tag" =~ "$current" ]] || [[ "$name" =~ "$current" ]]; then
echo -e "\e[36m${dir}:\e[39m current ${current} | ${tag} | ${name}"
else
echo -e "\e[31m${dir}:\e[39m current ${current} | ${tag} | ${name} | https://github.com/${repo}/releases"