diff --git a/project-properties.gradle b/project-properties.gradle index 2edd225bf..ba9179361 100755 --- a/project-properties.gradle +++ b/project-properties.gradle @@ -4,7 +4,7 @@ def migrationsScriptsUrl = 'https://raw.githubusercontent.com/reportportal/migra project.ext { publishRepo = "https://maven.pkg.github.com/reportportal/commons-dao" dependencyRepos = ["commons", "commons-rules", "commons-model", "commons-bom"] - releaseMode = project.hasProperty("releaseMode") + releaseMode = project.hasProperty("releaseMode") ? project.releaseMode.toBoolean() : false hasDBSchema = project.hasProperty("DB_SCHEMA_POSTGRES") scriptsUrl = commonScriptsUrl + (releaseMode ? getProperty('scripts.version') : 'develop') migrationsUrl = migrationsScriptsUrl + (releaseMode ? getProperty('migrations.version') : 'develop')