ci: fix workflow

This commit is contained in:
Ammar Ahmed
2026-03-30 15:17:46 +05:00
parent d8ff98d61e
commit b1b72229c4

View File

@@ -107,7 +107,7 @@ def prBuildNumber() {
def stagingReleaseBuild() {
// Enable with STAGING_BUILDtrue or -PstagingReleaseBuild=true
def fromEnv = System.getenv("STAGING_BUILD") == "true"
def fromProp = project.hasProperty("stagingReleaseBuild") && project.localReleaseBuild == "true"
def fromProp = project.hasProperty("stagingReleaseBuild") && project.stagingReleaseBuild == "true"
return fromEnv || fromProp
}