Remove branch logic from deploy script

the branch logic lives in main.sh, so no need to check again
This commit is contained in:
Dave Machado 2018-01-02 13:14:48 -05:00
parent 9f53d0948c
commit 367de578e6
No known key found for this signature in database
GPG key ID: 948D4778D01A7B3F

View file

@ -2,12 +2,6 @@
set -o errexit -o nounset set -o errexit -o nounset
if [ "$TRAVIS_BRANCH" != "master" ]
then
echo "This commit was made against $TRAVIS_BRANCH and not master! No deploy!"
exit 0
fi
rev=$(git rev-parse --short HEAD) rev=$(git rev-parse --short HEAD)
mkdir deploy mkdir deploy