Skip to content

Commit

Permalink
Prevent loops
Browse files Browse the repository at this point in the history
If we're already on a build tag, we don't need to do anything.
  • Loading branch information
Pezmc committed Jun 2, 2014
1 parent a457c26 commit e2088de
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CI/github.build.deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ then
exit 0; # prevent build fail
fi

if [[ "$TRAVIS_BRANCH" == build* ]]
then
echo "We're already on a 'build branch' (or tag), don't need to deploy again";
exit 0;
fi

echo "Creating ${FILENAME}"
zip -r "${FILENAME}" GameData/

Expand Down

0 comments on commit e2088de

Please sign in to comment.