Commit d28d1756 authored by Matthew Fisher's avatar Matthew Fisher

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.
parent ad54e71a
...@@ -29,7 +29,8 @@ if [[ -n "${CIRCLE_TAG:-}" ]]; then ...@@ -29,7 +29,8 @@ if [[ -n "${CIRCLE_TAG:-}" ]]; then
elif [[ "${CIRCLE_BRANCH:-}" == "master" ]]; then elif [[ "${CIRCLE_BRANCH:-}" == "master" ]]; then
VERSION="canary" VERSION="canary"
else else
exit 1 echo "Skipping deploy step; this is neither master or a tag"
exit
fi fi
echo "Install docker client" echo "Install docker client"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment