From 97acd47ae9b95f31738a8326fe720b94129dbdbf Mon Sep 17 00:00:00 2001 From: Madhu Rajanna Date: Wed, 9 Dec 2020 13:20:53 +0530 Subject: [PATCH] build: remove ENV_CSI_IMAGE_VERSION from deploy.sh as we are defining the image version in the build.env use the same to build images. Signed-off-by: Madhu Rajanna --- deploy.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/deploy.sh b/deploy.sh index 799f59229..d0a4eb220 100755 --- a/deploy.sh +++ b/deploy.sh @@ -83,9 +83,7 @@ build_push_images() { make push-manifest } -if [ "${TRAVIS_BRANCH}" == 'master' ]; then - export ENV_CSI_IMAGE_VERSION='canary' -else +if [ "${TRAVIS_BRANCH}" != 'master' ]; then echo "!!! Branch ${TRAVIS_BRANCH} is not a deployable branch; exiting" exit 0 # Exiting 0 so that this isn't marked as failing fi