Use sentry dsn values from CI/CD vars

This commit is contained in:
Algirdas Pundzius
2025-06-18 13:51:52 +03:00
committed by MargeBot
parent 97b2841b46
commit f9723a4b86
2 changed files with 2 additions and 3 deletions
-1
View File
@@ -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
+2 -2
View File
@@ -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 {