Fix deploy script exit code check

Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
This commit is contained in:
Nathan LeClaire 2016-03-14 14:57:39 -07:00
parent 1ac22866fc
commit 00938bd954
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ for i in $(seq 0 4); do
echo "Trying build $i..."
make clean
BUILD_EXIT_CODE=$(make)
if [[ "$BUILD_EXIT_CODE" -eq 0 ]]; then
if [[ $? -eq 0 ]]; then
cp dist/* $CIRCLE_ARTIFACTS
if [ ! -z "$CIRCLE_TAG" ]; then