fixed bug in call to teamcity

This commit is contained in:
FireBall1725 2014-09-28 14:55:55 -04:00
parent fed20a97fa
commit 31434c1382

View file

@ -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("/", "-")
}
}