diff options
author | Margarita Bobova <32216159+woainikk@users.noreply.github.com> | 2023-08-04 14:18:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-04 14:18:55 +0200 |
commit | 6602fe4d03cdc6ff11ffd5c5fba681ba9dd36240 (patch) | |
tree | 7602bf5dc52fa3d184ebd06b925d69dab0e113cd | |
parent | d83496de2ca23faaef23edf8f3cc3faef45ac8a0 (diff) | |
download | kotlinx.serialization-6602fe4d03cdc6ff11ffd5c5fba681ba9dd36240.tar.gz |
Use kotlin version as a build number while building in kotlin user projects (#2396)
-rw-r--r-- | gradle/teamcity.gradle | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gradle/teamcity.gradle b/gradle/teamcity.gradle index bb4cb575..ceb8a817 100644 --- a/gradle/teamcity.gradle +++ b/gradle/teamcity.gradle @@ -3,7 +3,7 @@ */ def teamcitySuffix = project.findProperty("teamcitySuffix")?.toString() -if (project.hasProperty("teamcity") && !build_snapshot_train) { +if (project.hasProperty("teamcity") && !(build_snapshot_train || rootProject.properties['build_snapshot_up'])) { // Tell teamcity about version number def postfix = (teamcitySuffix == null) ? "" : " ($teamcitySuffix)" println("##teamcity[buildNumber '${project.version}${postfix}']") |