Skip to content

Commit 6602fe4

Browse files
authored
Use kotlin version as a build number while building in kotlin user projects (#2396)
1 parent d83496d commit 6602fe4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gradle/teamcity.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*/
44

55
def teamcitySuffix = project.findProperty("teamcitySuffix")?.toString()
6-
if (project.hasProperty("teamcity") && !build_snapshot_train) {
6+
if (project.hasProperty("teamcity") && !(build_snapshot_train || rootProject.properties['build_snapshot_up'])) {
77
// Tell teamcity about version number
88
def postfix = (teamcitySuffix == null) ? "" : " ($teamcitySuffix)"
99
println("##teamcity[buildNumber '${project.version}${postfix}']")

0 commit comments

Comments
 (0)