added fix for main branch being built with the pull requests
This commit is contained in:
parent
12cc73a2ab
commit
fed20a97fa
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue