Fix property name for curseforge key

This commit is contained in:
tterrag1098 committed 2015-08-23 03:19:59 -04:00
1 parent 17ddc88103
commit bbef8d6415
1 file changed
+2 -2
+2 -2
View File
@@ -178,10 +178,10 @@ curse {
dependsOn 'reobf'
onlyIf {
return project.hasProperty('chisel_curseforge_key') && System.getenv("CURSE") != null && System.getenv("CURSE").equalsIgnoreCase("true")
return project.hasProperty('curseforge_key') && System.getenv("CURSE") != null && System.getenv("CURSE").equalsIgnoreCase("true")
}
if (project.hasProperty('chisel_curseforge_key')) apiKey = project.chisel_curseforge_key
if (project.hasProperty('curseforge_key')) apiKey = project.curseforge_key
projectId = project.projectId
changelog = System.getenv("CHANGELOG").equals("none") ? getChangelogText() : System.getenv("CHANGELOG")
releaseType = 'release'