Files
ERP/modules/axelor-open-suite/version.gradle
2021-11-29 11:56:30 +01:00

11 lines
257 B
Groovy

ext.versionFile = "../version.txt"
ext.baseVersion = project.file(versionFile).text.trim()
version baseVersion
if(project.hasProperty("mavenRepository") && !project.hasProperty("finalRelease")) {
version += "-SNAPSHOT"
}
ext.openSuiteVersion = version