fixed local-building fail with changelog

This commit is contained in:
AbrarSyed 2015-06-29 13:29:14 -05:00
parent a55536c0dc
commit 2fce67c8b7

View file

@ -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/"