From 5123017d3dadf2067fa90fc28275b92e9b586885 Mon Sep 17 00:00:00 2001 From: Jef Spaleta Date: Wed, 21 Aug 2019 04:23:22 -0800 Subject: [PATCH] quick fix for docker hub latest tag --- build_and_test_platform.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_and_test_platform.sh b/build_and_test_platform.sh index ba4d74b..fb4ec69 100755 --- a/build_and_test_platform.sh +++ b/build_and_test_platform.sh @@ -62,7 +62,7 @@ docker push ${docker_asset} ver=${asset_version%+*} prefix=${ver%-*} prerel=${ver/#$prefix} -if [ ! -z "$prerel" ]; then +if [ -z "$prerel" ]; then echo "tagging as latest asset" latest_asset=${TRAVIS_REPO_SLUG}-${ruby_version}-${platform}:latest docker tag ${asset_image} ${latest_asset}