[CI SKIP] Add a way to distinguish between dev builds and stable builds from the CI

This commit is contained in:
OmerBenGera 2024-01-19 18:37:59 +02:00
parent aded0e8b06
commit a131f95a20

View File

@ -10,7 +10,8 @@ version = "2023.3"
project.ext {
archiveFolder = file("archive/")
targetFolder = file("target/")
buildVersion = System.getenv("BUILD_NUMBER") == null ? version : version + "-b" + System.getenv("BUILD_NUMBER")
buildVersion = System.getenv("BUILD_NUMBER") == null || Boolean.parseBoolean(System.getenv("STABLE_BUILD")) ?
version : version + "-b" + System.getenv("BUILD_NUMBER")
}
allprojects {