Merge pull request #169 from FireBall1725/rv2
added fix for main branch being built with the pull requests
This commit is contained in:
commit
bb3214160e
1 changed files with 3 additions and 0 deletions
|
@ -39,6 +39,9 @@ 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
|
||||||
|
version = version.replaceAll("/", "-")
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add Coremod Manifest
|
// Add Coremod Manifest
|
||||||
|
|
Loading…
Reference in a new issue