Merge pull request #5806 from keymanapp/fix/ios/cherry-pick/sentry-cli-settings

fix(ios): move sentry settings responsibility to build agent 👮‍♂️ 🍒
This commit is contained in:
Marc Durdin 2021-10-07 16:35:50 +11:00 committed by GitHub
commit a7580a2fdf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -198,6 +198,8 @@ function exportEnvironmentDefinitionScript() {
echo "# Required for successful dSYM upload for Sentry error reporting" >> "$ENVIRONMENT_SH"
echo "export SENTRY_AUTH_TOKEN=${SENTRY_AUTH_TOKEN:-}" >> "$ENVIRONMENT_SH"
echo "export SENTRY_URL=${SENTRY_URL:-}" >> "$ENVIRONMENT_SH"
echo "export SENTRY_ORG=${SENTRY_ORG:-}" >> "$ENVIRONMENT_SH"
# Ensure the autogenerated file may be successfully run/included by xcode-utils.sh.
chmod +x "$ENVIRONMENT_SH"

View file

@ -129,8 +129,6 @@ function phaseSentryDsymUpload() {
# The remaining update logic seen here was auto-generated at https://sentry.keyman.com/keyman/keyman-ios/getting-started/cocoa-swift/
if which sentry-cli >/dev/null; then
export SENTRY_URL="https://sentry.keyman.com"
export SENTRY_ORG=keyman
export SENTRY_PROJECT="$SENTRY_PROJECT_TARGET"
export SENTRY_LOG_LEVEL=info
ERROR=$(sentry-cli upload-dif "$DWARF_DSYM_FOLDER_PATH" 2>&1 >/dev/null)