mirror of
https://github.com/ProtonMail/android-mail.git
synced 2026-05-15 09:50:40 +00:00
Use sentry dsn values from CI/CD vars
This commit is contained in:
committed by
MargeBot
parent
97b2841b46
commit
f9723a4b86
@@ -190,7 +190,6 @@ build_prod_release:
|
||||
- <<: *ruby-cache
|
||||
policy: !reference [ .cache-policy, cache, policy ]
|
||||
script:
|
||||
- base64 -d - < "$PRIVATE_PROPERTIES_FILE" > private.properties
|
||||
- base64 -d - < "$SENTRY_PROPERTIES_FILE" > sentry.properties
|
||||
- base64 -d - < "$GOOGLE_SERVICES_JSON_FILE" > app/google-services.json
|
||||
- bundle exec fastlane assembleProdRelease
|
||||
|
||||
@@ -48,8 +48,8 @@ val privateProperties = Properties().apply {
|
||||
}
|
||||
}
|
||||
|
||||
val accountSentryDSN: String = privateProperties.getProperty("accountSentryDSN") ?: ""
|
||||
val sentryDSN: String = privateProperties.getProperty("sentryDSN") ?: ""
|
||||
val accountSentryDSN: String = System.getenv("SENTRY_DSN_ACCOUNT") ?: ""
|
||||
val sentryDSN: String = System.getenv("SENTRY_DSN_MAIL") ?: ""
|
||||
val proxyToken: String? = privateProperties.getProperty("PROXY_TOKEN")
|
||||
|
||||
android {
|
||||
|
||||
Reference in New Issue
Block a user