Skip to content

Commit

Permalink
include tag check in deploy.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Wrock <[email protected]>
  • Loading branch information
mwrock committed Mar 11, 2017
1 parent 7cba006 commit 2120321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion support/ci/deploy.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# fail fast if we aren't on the desired branch or if this is a pull request
if [[ "${TRAVIS_PULL_REQUEST}" != "false" ]] || [[ "${TRAVIS_BRANCH}" != "master" ]]; then
if [[ "${TRAVIS_BRANCH}" != "$(cat VERSION)" && ("${TRAVIS_PULL_REQUEST}" != "false" || "${TRAVIS_BRANCH}" != "master") ]]; then
echo "We only publish on successful builds of master."
exit 0
fi
Expand Down

0 comments on commit 2120321

Please sign in to comment.