Files
mattermost-mobile/ios/uploadDebugSymbols.sh
2020-11-17 14:20:58 -03:00

13 lines
315 B
Bash
Executable File

#!/bin/sh
if [[ "${SENTRY_ENABLED}" = "true" ]]; then
echo "Uploading debugging symbols to Sentry"
./makeSentryProperties.sh
export SENTRY_PROPERTIES=sentry.properties
../node_modules/@sentry/cli/bin/sentry-cli upload-dsym
else
echo "Not uploading debugging symbols to Sentry because Sentry is disabled"
fi