From 1c490bc14834fa01cf063341568c5e23ae69ecdb Mon Sep 17 00:00:00 2001 From: Serge Zaitsev Date: Tue, 16 Oct 2018 14:38:47 +0200 Subject: [PATCH] fix command separators in multiline command --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 24d9cfb..db26f16 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,6 +17,6 @@ after_success: - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - docker push "sixtlabs/gomodproxy:latest" - if [ ! -z $TRAVIS_TAG ] ; then - docker tag sixtlabs/gomodproxy:latest sixtlabs/gomodproxy:$TRAVIS_TAG - docker push sixtlabs/gomodproxy:$TRAVIS_TAG + docker tag sixtlabs/gomodproxy:latest sixtlabs/gomodproxy:$TRAVIS_TAG; + docker push sixtlabs/gomodproxy:$TRAVIS_TAG; fi