mattermost-mobile/ios/uploadDebugSymbols.sh
Harrison Healey f75d35b66e RN-9379 Updated react-native-sentry to 0.34.0 (#1447)
* RN-9379 Updated react-native-sentry to 0.34.0

* Removed translations for sentry debugging options
2018-02-21 01:01:06 +08:00

14 lines
359 B
Bash
Executable file

#!/bin/sh
export SENTRY_PROPERTIES=sentry.properties
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