Skip to content

Commit 9792932

Browse files
committed
separating snapshot from local logic
1 parent 1efd934 commit 9792932

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ allprojects {
2525
if (System.getenv("VERSION")==null) {
2626
version = (File(project.rootDir, "config/version.txt").readText().trim() + "-SNAPSHOT")
2727
}
28+
else if (System.getenv("VERSION").endsWith("-SNAPSHOT")) {
29+
version = System.getenv("VERSION")
30+
}
2831
else {
2932
version = System.getenv("VERSION") + "-" + File(project.rootDir, "config/version-qualifier.txt").readText().trim()
3033
}

0 commit comments

Comments
 (0)