We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60b7551 commit 7778cddCopy full SHA for 7778cdd
build.gradle.kts
@@ -21,7 +21,7 @@ allprojects {
21
group = "co.elastic.clients"
22
// Release manager provides a $VERSION. If not present, it's a local or CI snapshot build.
23
// also need to add the qualifier in case it's a staging build
24
- version = if(System.getenv("VERSION").isNullOrEmpty()) (File(project.rootDir, "config/version.txt").readText().trim() + "-SNAPSHOT")
+ version = if(System.getenv("VERSION")==null) (File(project.rootDir, "config/version.txt").readText().trim() + "-SNAPSHOT")
25
else System.getenv("VERSION") + "-" + File(project.rootDir, "config/version-qualifier.txt").readText().trim()
26
27
repositories {
0 commit comments