fixed bug in call to teamcity
This commit is contained in:
parent
fed20a97fa
commit
31434c1382
|
@ -41,7 +41,7 @@ if (hasProperty("teamcity")) {
|
|||
version = teamcity["build.number"]
|
||||
|
||||
// Fix for main branch being built
|
||||
if (teamcity.build.branch.is_default) {
|
||||
if (teamcity["teamcity.build.branch.is_default"]) {
|
||||
version = version.replaceAll("/", "-")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue