fix: nightly check

This commit is contained in:
Zane Schepke 2024-07-27 22:34:07 -04:00
parent 431b2f9061
commit 4dd8241fa1
1 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ fun Project.isReleaseBuild(): Boolean {
}
fun Project.isNightlyBuild(): Boolean {
return gradle.startParameter.taskNames.contains("assembleFdroidNightly")
return gradle.startParameter.taskNames.contains("Nightly")
}
fun Project.getSigningProperties() : Properties {
@ -81,7 +81,7 @@ fun Project.getSigningProperty(property: String) : String {
}
fun Project.signingConfigName() : String {
return if(getSigningProperty(Constants.KEY_PASS_VAR) == "") Constants.DEBUG else Constants.RELEASE
return if(getSigningProperty(Constants.KEY_PASS_VAR).isBlank()) Constants.DEBUG else Constants.RELEASE
}