Skip to content

Commit 5d3207b

Browse files
committed
removed qualifier check in build
1 parent 8880ca2 commit 5d3207b

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

build.gradle.kts

+1-5
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,8 @@ allprojects {
4646
if (System.getenv("VERSION")==null) {
4747
version = (File(project.rootDir, "config/version.txt").readText().trim() + "-SNAPSHOT")
4848
}
49-
else if (System.getenv("VERSION").contains("-")) {
50-
// Either SNAPSHOT or a version qualifier included in $VERSION for ad-hoc releases
51-
version = System.getenv("VERSION")
52-
}
5349
else {
54-
version = System.getenv("VERSION") + "-" + File(project.rootDir, "config/version-qualifier.txt").readText().trim()
50+
version = System.getenv("VERSION")
5551
}
5652

5753
repositories {

0 commit comments

Comments
 (0)