This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Prevent send to bugsnag in not selected branches | |
if [ "$APPCENTER_BRANCH" != "production" ] && [ "$APPCENTER_BRANCH" != "qa" ] && [ "$APPCENTER_BRANCH" != "staging" ] | |
then | |
echo "This branch is not in the selected ones:" $APPCENTER_BRANCH | |
exit | |
fi | |
# Set platform | |
echo "Setting Platform..." |