exit zero on non-master branch

While we still don't want to upload to GCS/GCR, we also don't want the CI run to fail because we are just skipping the step. This is most usually seen in the `release-X.Y` branches cut every minor release.

(cherry picked from commit d28d1756f8)
release-2.8
Matthew Fisher 7 years ago
parent 7de81bbd91
commit 772a2799a8
No known key found for this signature in database
GPG Key ID: CDEC67687EFAA34E

@ -29,7 +29,8 @@ if [[ -n "${CIRCLE_TAG:-}" ]]; then
elif [[ "${CIRCLE_BRANCH:-}" == "master" ]]; then
VERSION="canary"
else
exit 1
echo "Skipping deploy step; this is neither master or a tag"
exit
fi
echo "Install docker client"

Loading…
Cancel
Save