From 826e5086463658c44dfe47c0fce2533a92cb730c Mon Sep 17 00:00:00 2001 From: Fedor Korotkov Date: Tue, 11 Jul 2023 09:49:04 -0400 Subject: [PATCH] Upload debug files to both Sentry projects (#552) * Upload debug files to both Sentry projects Apparently it's not possible to share debug files cross projects. So let's upload to both of them. To one we use in production and one we use for testing. * Use environment variable --- .cirrus.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.cirrus.yml b/.cirrus.yml index dd65758c..7d5c84d1 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -128,9 +128,11 @@ task: # Generate and upload symbols - dsymutil tart - sentry-cli debug-files upload tart.dSYM/ + - SENTRY_PROJECT=tart sentry-cli debug-files upload tart.dSYM/ # Bundle and upload sources - sentry-cli debug-files bundle-sources tart.dSYM - sentry-cli debug-files upload tart.src.zip + - SENTRY_PROJECT=tart sentry-cli debug-files upload tart.src.zip create_sentry_release_script: - export SENTRY_RELEASE="tart@$CIRRUS_TAG" - sentry-cli releases new $SENTRY_RELEASE