fix compile while missing the sentry auth token

This commit is contained in:
Julian Krings 2025-06-09 18:40:43 +02:00
parent eefbbab7ee
commit f9dac8a3a1
No known key found for this signature in database
GPG Key ID: 208C6E08C3B718D2
2 changed files with 2 additions and 2 deletions

View File

@ -147,7 +147,7 @@ tasks {
group = "io.sentry"
dependsOn("downloadCli")
doLast {
val authToken = project.property("sentry.auth.token") ?: System.getenv("SENTRY_AUTH_TOKEN")
val authToken = project.findProperty("sentry.auth.token") ?: System.getenv("SENTRY_AUTH_TOKEN")
val org = "volmit-software"
val projectName = "iris"
exec(cli, "releases", "new", "--auth-token", authToken, "-o", org, "-p", projectName, version)

View File

@ -100,7 +100,7 @@ sentry {
org = "volmit-software"
projectName = "iris"
authToken = property("sentry.auth.token") as String? ?: System.getenv("SENTRY_AUTH_TOKEN")
authToken = findProperty("sentry.auth.token") as String? ?: System.getenv("SENTRY_AUTH_TOKEN")
}
tasks {