Skip to content

Commit

Permalink
optimize buildnum parsing and firx kotest
Browse files Browse the repository at this point in the history
  • Loading branch information
JesusMcCloud committed Sep 12, 2024
1 parent e3fee94 commit 5e25f1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
rootProject.name = "WARDEN-root"
pluginManagement {
repositories {
maven("https://s01.oss.sonatype.org/content/repositories/snapshots") //KOTEST snapshot
maven {
url = uri("https://raw.githubusercontent.com/a-sit-plus/gradle-conventions-plugin/mvn/repo")
name = "aspConventions"
Expand Down
2 changes: 1 addition & 1 deletion warden/src/main/kotlin/Warden.kt
Original file line number Diff line number Diff line change
Expand Up @@ -314,8 +314,8 @@ class Warden(
iosApps.entries.firstOrNull { (_, appAttest) -> appAttest.app == result.first.app }?.key?.iosVersionOverride
?: iosAttestationConfiguration.iosVersion

val parsedVersion = parseIosBuildOrVersionNumber(result.second.certificate)
iosVersion?.let { configuredVersion ->
val parsedVersion = parseIosBuildOrVersionNumber(result.second.certificate)
kotlin.runCatching {
if (configuredVersion > parsedVersion) {
val explanation =
Expand Down

0 comments on commit 5e25f1c

Please sign in to comment.