added fix for main branch being built with the pull requests

This commit is contained in:
FireBall1725 2014-09-28 14:53:36 -04:00
parent 12cc73a2ab
commit fed20a97fa

View file

@ -39,6 +39,11 @@ archivesBaseName = config.archivesBaseName
// If TeamCity is running this build, lets set the version info
if (hasProperty("teamcity")) {
version = teamcity["build.number"]
// Fix for main branch being built
if (teamcity.build.branch.is_default) {
version = version.replaceAll("/", "-")
}
}
// Add Coremod Manifest