diff --git a/Jenkinsfile b/Jenkinsfile index 02975820cf..978c5a8785 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -81,7 +81,7 @@ pipeline { expression { env.CHANGE_ID == null } anyOf { expression { env.GIT_BRANCH == "develop" } - expression { env.GIT_BRANCH ==~ /[0-9]+\.[0-9]+\.[0-9]+-rc/ } + expression { env.GIT_BRANCH ==~ /[0-9]+\.[0-9]+\.[0-9]+(\.[0-9]+)?-rc/ } } } } diff --git a/core/src/main/java/org/hisp/dhis/android/core/systeminfo/internal/PingService.kt b/core/src/main/java/org/hisp/dhis/android/core/systeminfo/internal/PingService.kt index afe589e7b1..d54eed517e 100644 --- a/core/src/main/java/org/hisp/dhis/android/core/systeminfo/internal/PingService.kt +++ b/core/src/main/java/org/hisp/dhis/android/core/systeminfo/internal/PingService.kt @@ -39,7 +39,7 @@ internal class PingService( private val dhisVersionManager: DHISVersionManager, ) { suspend fun getPing(): HttpResponse { - return if (dhisVersionManager.isGreaterThan(DHISVersion.V2_36)) { + return if (dhisVersionManager.isGreaterOrEqualThan(DHISVersion.V2_40)) { client.get { url("ping") excludeCredentials() diff --git a/docs/content/developer/getting-started.md b/docs/content/developer/getting-started.md index 783b2e0adb..66ea58885a 100644 --- a/docs/content/developer/getting-started.md +++ b/docs/content/developer/getting-started.md @@ -6,7 +6,7 @@ Include dependency in build.gradle. ```gradle dependencies { - implementation "org.hisp.dhis:android-core:1.11.0" + implementation "org.hisp.dhis:android-core:1.11.0.1" ... } ``` diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 6d03d2b81a..b0633a5b16 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,5 +1,5 @@ [versions] -dhis2AndroidSdkVersion = "1.11.0-SNAPSHOT" +dhis2AndroidSdkVersion = "1.11.0.1-SNAPSHOT" dhis2AndroidSdkCode = "295" gradle = "8.6.1"