mirror of
https://github.com/mattermost/mattermost-mobile.git
synced 2026-11-04 09:58:57 +00:00
12 lines
313 B
Bash
Executable File
12 lines
313 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [[ "${SENTRY_ENABLED}" = "true" ]]; then
|
|
echo "Uploading debugging symbols to Sentry"
|
|
|
|
export SENTRY_PROPERTIES=sentry.properties
|
|
../node_modules/@sentry/cli/bin/sentry-cli upload-dif "$DWARF_DSYM_FOLDER_PATH"
|
|
|
|
else
|
|
echo "Not uploading debugging symbols to Sentry because Sentry is disabled"
|
|
fi
|