fixed local-building fail with changelog
This commit is contained in:
parent
a55536c0dc
commit
2fce67c8b7
1 changed files with 4 additions and 1 deletions
|
@ -80,7 +80,10 @@ processJson {
|
|||
task changelog(type: JenkinsChangelog) {
|
||||
|
||||
// skip if there is no forge jenkins pass
|
||||
onlyIf { project.hasProperty('forgeJenkinsPass') }
|
||||
onlyIf {
|
||||
project.hasProperty('forgeJenkinsPass')
|
||||
project.file("build/distributions/${project.name}-${project.version}-changelog.txt").text = ""
|
||||
}
|
||||
|
||||
outputs.upToDateWhen { false } // never up to date
|
||||
serverRoot = "http://ci.jenkins.minecraftforge.net/"
|
||||
|
|
Loading…
Reference in a new issue