Move set -e to before the deploy

I _think_ this might be why the deploy script crashing isn't causing the release to fail (see #2600)
This commit is contained in:
Russell Cohen 2018-04-02 23:11:47 -07:00 committed by GitHub
parent 90fcdafb79
commit 35125d370f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,9 +50,9 @@ script:
after_success: |
#!/bin/bash
if [ $(uname) == Linux ]; then
./.github/deploy.sh
# trigger rebuild of the clippy-service, to keep it up to date with clippy itself
set -e
./.github/deploy.sh
# trigger rebuild of the clippy-service, to keep it up to date with clippy itself
if [ "$TRAVIS_PULL_REQUEST" == "false" ] &&
[ "$TRAVIS_REPO_SLUG" == "Manishearth/rust-clippy" ] &&
[ "$TRAVIS_BRANCH" == "master" ] &&