Testing out uploading the changelog to CurseForge as an additional artifact

This commit is contained in:
pahimar 2015-01-30 22:54:21 -05:00
parent d0ff8622df
commit 1e575a0e8e

View file

@ -164,10 +164,9 @@ tasks.setupDecompWorkspace.dependsOn copyChicken
curse {
projectId = project.ee3_curseforge_projectid
apiKey = project.ee3_curseforge_apikey
changelog = 'Please see the attached changelog file'
changelog = (new File("$project.buildDir/libs/$project.archivesBaseName-$config.minecraft_version-$config.mod_version.${System.getenv().BUILD_NUMBER}-changelog.txt"))
releaseType = 'alpha'
additionalArtifact devJar
additionalArtifact "$project.buildDir/libs/$project.archivesBaseName-$config.minecraft_version-$config.mod_version.${System.getenv().BUILD_NUMBER}-changelog.txt"
}
uploadArchives {