added fix for main branch being built with the pull requests
This commit is contained in:
@@ -39,6 +39,11 @@ archivesBaseName = config.archivesBaseName
|
|||||||
// If TeamCity is running this build, lets set the version info
|
// If TeamCity is running this build, lets set the version info
|
||||||
if (hasProperty("teamcity")) {
|
if (hasProperty("teamcity")) {
|
||||||
version = teamcity["build.number"]
|
version = teamcity["build.number"]
|
||||||
|
|
||||||
|
// Fix for main branch being built
|
||||||
|
if (teamcity.build.branch.is_default) {
|
||||||
|
version = version.replaceAll("/", "-")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add Coremod Manifest
|
// Add Coremod Manifest
|
||||||
|
|||||||
Reference in New Issue
Block a user