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