Skip to content

Commit

Permalink
Fix property name for curseforge key
Browse files Browse the repository at this point in the history
  • Loading branch information
tterrag1098 committed Aug 23, 2015
1 parent 17ddc88 commit bbef8d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit bbef8d6

Please sign in to comment.